|
Replies
:
3
-
Pages
:
1
-
Last Post
:
Mar 30, 2008 7:34 AM
by: Antonio Rocco
|
|
|
Posts:
62
Registered:
Nov 25, 2004
|
|
|
|
Sub-domain configuration in DNS
Posted:
Mar 29, 2008 7:38 PM
|
|
|
My ISP gave me a fixe ip aaa.bbb.ccc.ddd
when I do a reverse lookup on my ip aaa.bbb.ccc.ddd I get
Host ddd.ccc.bbb.aaa.in-addr.arp
Type PTR
Value ccc-ddd.FF.GG.CA
Where FF.GG.CA is probably my ISP Domain name.
If I do a DNS lookup for ccc-ddd.FF.GG.CA I get
Host ccc-ddd.FF.GG.CA
Type A
Value aaa.bbb.ccc.ddd
So far it is good.
In my house, I have a cable modem -> Apple Extreme base station with some workstation connected to it and one Mac OS X Server 10.5.2.
1.
Can I sub-domain the DNS Name that my ISP and use it for my network.
for example : server.ccc-ddd.FF.GG.CA
PBG4.ccc-ddd.FF.GG.CA
PBG3.ccc-ddd.FF.GG.CA
If yes. To configure my DNS, in the primary zone field what should I put ?
ccc-ddd.FF.GG.CA or just FF.GG.CA
Do I put a dot at the end ?
2.
if I can't sub-domain, How do I create a local set-up in my DNS.
3. On my first try (tries) to configure my server, I use my own domain name francoborgo.com and the standard configuration. It work for most of the service but I read in Apple documentation that Mac Os X server need a reverse lookup (from the warning in Server Administration PDF page 187).
Should I use my ISP domain name and just point www.francoborgo.com to aaa.bbb.ccc.ddd
or
configure my server directly with francoborgo.com and live without a PTR record.
Any help is would be great because all example that I find in Google are for example.com and not for a sub-domain.
MacPro, PBG4, Lombard, Mini, iMac G4, 8500, IICX, Apple IIe
Mac OS X (10.4.9)
|
|
Posts:
1,913
Registered:
May 21, 2004
|
|
|
|
Re: Sub-domain configuration in DNS
Posted:
Mar 30, 2008 1:18 AM
in response to: Franco Borgo
|
|
Helpful
|
|
|
As you have a NATed network, there is no meaning in using a subdomain and subdomains need to be delegated from the "main" domain.
There is at least two reasons to have a working reverse zone :
The first one is for OS X: this doesn't have to be using public IPs so you can use your own domainname with internal/private IPs here. If using the same domainname internally and for public use, the internal DNS needs to know about all public names/IPs using the same domainname as the DNS wont go to other public DNS (or forwarders) to find anything using the same domainame.
Use only internal DNS (with forwarders) for all machines on your private IP LAN including the server.
The second is if running a public mailserver the public IP should preferably have a correct reverse name setup: you can ask your ISP to change the reverse to whatever name you want the public IP to have: mail.francoborgo.com. ?
An example for the public DNS:
francoborgo.com. NS <name of public DNS server1>
francoborgo.com. NS <name of public DNS server2>
francoborgo.com. MX mail.francoborgo.com.
mail.francoborgo.com. A <your public IP here>
www.francoborgo.com. CNAME mail.francoborgo.com.
An example for the private DNS:
francoborgo.com. NS mail.francoborgo.com.
francoborgo.com. MX mail.francoborgo.com.
mail.francoborgo.com. A <server IP here>
www.francoborgo.com. CNAME mail.francoborgo.com.
And in the internal reverse zone (server IP 10.0.123.10)
(Don't use 192.168.0.0/24 or 192.168.1.0/24 for the server LAN.)
123.0.10.in-addr.arpa. NS mail.francoborgo.com.
10.123.0.10.in-addr.arpa. PTR mail.francoborgo.com.
|
|
Posts:
62
Registered:
Nov 25, 2004
|
|
|
|
Re: Sub-domain configuration in DNS
Posted:
Mar 30, 2008 6:47 AM
in response to: Leif Carlsson
|
|
|
Thank you very much. I could not find a complete explanation like yours.
I did read a lot I even look into some of the RFC document.
This problem is almost solve
I still need some little information.
Sorry
The first time I configure the server, I did use my domain name but a public reverse lookup obviously fail because I did not had a PTR record at my ISP. Now, reading your reply, I guess that Mac OS X server only need a Local reverse Lookup. I thought service like VPN needed a public reverse lookup. That changes everything.
I will try your configuration this morning.
Now, for the mail server, which I won't use for now,
My ISP would charge me about twice as much to have a PTR record, so I have decide not to use this option for now.
My registrar (GoDaddy) give the possibility to create a PTR record for Mail I guess this PTR record is not the same as the one that my ISP could give me because they own the IP but from what I understand, it should work.
Last.
The /24 in the local IP, how do I use it? with the mask? Where?
I also read that for VPN, the local IP should be different than the local one of the distant client. So I did change the 10.0.1. to 10.0.XX.
I still have hundreds of question, but before posting another one, I will read some more.
Thank You very much Leif.
Franco
MacPro, PBG4, Lombard, Mini, iMac G4, 8500, IICX, Apple IIe
Mac OS X (10.4.9)
|
|
Posts:
4,307
From:
UK
Registered:
Oct 31, 2005
|
|
|
|
Re: Sub-domain configuration in DNS
Posted:
Mar 30, 2008 7:34 AM
in response to: Franco Borgo
|
|
Solved
|
|
|
Franco
Just to expand a little on the information Leif has already proivided:
192.168.0.1/24
This means your sub-net mask would be 255.255.255.0 (24 bits)
192.168.0.1/8 = of 255.0.0.0
192.168.0.1/16 = 255.255.0.0
Do you get the picture now? There are others but these are the simplest ones. For more information regarding this and other matters you could look here:
http://www.iana.org/
http://www.iana.org/numbers/
http://www.iana.org/protocols/
Tony
|
|
|