Home Forums OS X Server and Client Discussion DNS DNS overview

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #355703
    hamishb
    Participant

    I would appreciate someone drawing a little diagram and showing external and internal IP addresses, A records, MX records and CNAMES etc.

    For example, have Mac OS X Server running on one G4 behind a NAT router (port 80 forwarded to 192.168.123.102) whilst my main G4 is on 192.168.123.101, iBook is 104 and Laserwriter 16/600 PS is .100.

    Being a visual person, a diagram showing NAT router with static IP and C class IP addresses for say 3 machines (say a primary machine running Mac OS X server and 2 machines running client) would be most appreciated.

    Anyone up to the task? I have mocked up an outline here: http://www.blair.com.au/DNS.xls

    Does Rendezvous make this whole thing irrelevant or easier? Am still running OS X Server 10.1

    Thanks
    Hamish

    #355708
    Camelot
    Participant

    I have to admit I’m a little confused as to what it is you’re asking for.

    The diagram you have seems to explain the network architecture pretty well, at least as you describe it.

    What are you looking for in the way of DNS? Do you need help in setting up your zone file? If so, what domain name are you using?

    Or are you looking for help in configuring the various services on each machine?

    Rendezvous doesn’t make any difference as far as network layout is concerned. All it really does is provide service location, allowing each system to easily locate other services on the network using a combination of network broadcasts and/or directory services

    #355711
    legacyb4
    Participant

    Hamish,

    Is someone hosting your external DNS and you are doing just internal?

    Cheers.

    [quote:9433ddfd90=”hamishb”]I would appreciate someone drawing a little diagram and showing external and internal IP addresses, A records, MX records and CNAMES etc.

    [/quote:9433ddfd90]

    #355712
    hamishb
    Participant

    1. Yes, Zoneedit are hosting my domain names and pointing them to my static IP address. NAT router forwards port 80 (http) to my Server. e.g. http://www.mydomain.com is pointed to 123.321.123.321 per my example.

    2. Am trying to set up intenal domain names – using the local domain example.com:

    g4server.example.com -> 192.168.123.102
    g4.example.com -> 192.168.123.101
    ibook.example.com -> 192.168.123.104

    3. How do I set up external (Zoneedit) and internal (example.com) MX records? Does the Mail server require mail.example.com to be configured for 192.168.123.102, or does it just “listen” to port 25 like Apache listens to port 80? If I am serving up a few websites for various domains (using virtual hosts) is this addressed from a mail perspective by having multiple (internal) domain names for the mail server? What do I need to do here?

    Overall, I have found most tutorials on the web are lacking in that:
    – they don’t specify whether they are proper domains or just made up internal ones
    – they don’t deal with handling multiple domains all that well.

    Appreciate your further comments.
    Thanks
    Hamish

    #355722
    Camelot
    Participant

    [quote:f7bbab350c=”hamishb”]1. Yes, Zoneedit are hosting my domain names and pointing them to my static IP address. NAT router forwards port 80 (http) to my Server. e.g. http://www.mydomain.com is pointed to 123.321.123.321 per my example.

    2. Am trying to set up intenal domain names – using the local domain example.com:

    g4server.example.com -> 192.168.123.102
    g4.example.com -> 192.168.123.101
    ibook.example.com -> 192.168.123.104[/quote:f7bbab350c]

    I’m still not following what you need. Are you looking for a zone file for example.com with these three hosts in it?

    [code:1:f7bbab350c]$ORIGIN .
    $TTL 3600 ; 1 hour
    example.com IN SOA ns.example.com. ops.example.com. (
    2003052701 ; serial
    10800 ; refresh (3 hours)
    3600 ; retry (1 hour)
    604800 ; expire (1 week)
    14400 ; minimum (4 hours)
    )
    NS ns.example.com.
    MX 10 mail.example.com.
    $ORIGIN example.com.
    ns A 192.168.123.102
    mail CNAME ns
    g4server CNAME ns
    g4 A 192.168.123.101
    ibook A 192.168.123.104
    [/code:1:f7bbab350c]

    [quote:f7bbab350c]3. How do I set up external (Zoneedit) and internal (example.com) MX records? Does the Mail server require mail.example.com to be configured for 192.168.123.102, or does it just “listen” to port 25 like Apache listens to port 80? If I am serving up a few websites for various domains (using virtual hosts) is this addressed from a mail perspective by having multiple (internal) domain names for the mail server? What do I need to do here?[/quote:f7bbab350c]

    Depends on the mail server. Most mail servers will simply listen to port 25. The server’s configuration tells it what domains to accept mail for.
    If you’re using Apple Mail that comes with Mac OS X Server you’re out of luck since it doesn’t support multiple domains. If you’re using sendmail, add the domains you accept mail for to the file /etc/mail/local-host-names and restart sendmail.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed