Benches Networking

3

YADQ - Yet another DNS Question

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Home network admin in training.

I trying to learn Mac OS X Server by myself but I cannot find book with real life example.
Any help will be very appreciate.

Let’s say that I have bought a domain name called ville.com from GoDaddy

I have set-up in GoDaddy DNS that     http://www.ville.com goes to IP     234.234.234.234
And a CName     Montreal.ville.com also going to IP     234.234.234.234

Because my ISP charge 80$ per month more than my current 45$, to setup my PTR record. I do not have reverse look-up at that level.

At home, I have a router (Apple Airport Extreme) connected to the cable modem. Inside my network I have a few machine and one of them being a Mac Pro running Mac OS X server 10.5

My Router do the DHCP Local IP distribution and NAT translation.
The Mac Pro host the Local DNS, OD, AFP etc server.

I have tried two different DNS set-up.

1)
I have been told to set-up my intranet with domain name not existing in Internet. So for my first set-up, I configure my DNS like this

234.234.234.234 Router WAN Side http://www.ville.com and montreal.ville.com in GoDaddy DNS configuration
10.0.21.1 Router LAN Side    croisement.ville.earth
10.0.21.2 MacPro        Montreal.ville.earth
10.0.21.3 MacBook Pro    Toronto.ville.earth
10.0.21.4 iMac        Vancouver.ville.earth

2) Now, I have reinstalled and I have decide to go with my real domain name.


234.234.234.234 Router WAN Side    http://www.ville.com and montreal.ville.com in GoDaddy DNS configuration
10.0.21.1 Router LAN Side    croisement.ville.com
10.0.21.2 MacPro        Montreal.ville.com
10.0.21.3 MacBook Pro    Toronto.ville.com
10.0.21.4 iMac        Vancouver.ville.com

In My little understanding, I feel the second one is simpler but then again, I do not know much.
With the second set-up, I have found a problem turning into a good thing. My Laptop goes to montreal.ville.com to find the OD, AFP server. When I am on my local Network, the DNS translate montreal.ville.com into 10.0.21.2 and when I am outside it become 234.234.234.234 and my router “route” request to 10.0.21.2.



Is this the right way to configure the server or setup 1) is better or are they basically the same thing ?

I do have LAN reverse look-up for the server. But for VPN etc. Will I need WAN reverse look-up ?

Thank you very much.

P.S. Is there a way to do some formatting like proportional font and space in our post ?

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I would go with model #2

    In this setup, 'montreal.ville.com' always gets you to the MacPro - if you're inside the network using the internal DNS you go straight there. If you're outside the network using GoDaddy's DNS you go to the router which (presumably) has port forwarding turned on to get you to the MacPro.

    This is especially useful if you're using this machine for any client services - for example you can use the same URL http://montreal.ville.com/ and not have to remember two servers (http://montreal.ville.com/ if you're outside and http://montreal.ville.earth/ if you're inside).

    I do have LAN reverse look-up for the server. But for VPN etc. Will I need WAN reverse look-up ?

    You don't need reverse DNS on the WAN address for any services other than SMTP. If you're running a mail server here you will have problems sending mail to many domains if you don't have reverse DNS setup. (Note: you may be able to get around this by forwarding all mail through your ISP's server).

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank You Camelot

    Ok, I will stick with number #2.

    As far as VPN is concerned, I am not there yet but I feel more comfortable knowing it should work. I do not plan to setup a mail server but I see in the GoDaddy's DNS SetUp than I can put a PTR record for Mail. I do not understand how this could work but I will look into it before paying the extra 80$/month.

    I do have more question. Should I post them here or start a new thread and mark this one as solved?

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I do have more question. Should I post them here or start a new thread and mark this one as solved?

    I tend to think that threads here work best when they're focussed. If your other question relates to the original question you had (e.g. the internal vs. external DNS setup) then feel free to post here, otherwise a new thread may be more appropriate.