6 Replies Latest reply: Aug 28, 2013 11:36 PM by iboyS
iboyS Level 1 Level 1 (0 points)

Hi,

I did some testing with my ml server but I do not get accross with reverse dns reverse lookup of my server.

 

I created an open directory master after configuring the dns service.

 

only local --> domain: imac-server.local --> ip 10.0.1.8

Airpot Extreme router, shared ip adress dhcp+nat

OSX Server 10.8

 

It faild all the time to create an OD-Master - because of wrong DNS configs. --> at that time reverse dns zone was 1.0.10.in-addr.arpa. (in the server app)

 

After a clean install it worked - now my reverse dns zone is 8.1.0.10.in-addr.arpa.

 

Now I created a second primary zone (for another server) --> Reverse lookup is 1.0.10.in-addr.arpa. --> but it also works???

 

Could anyone explain me what is the difference between having a reverse lookup zone like x.1.0.10.in-addr.arpa.or a zone like 1.0.10.in-addr.arpa.

 

Have no idaea.

 

Thanks

S.


Mac Mini Intel Core Duo, Mac OS X (10.4.9)
  • MrHoffman Level 6 Level 6 (13,005 points)

    Here is how to establish DNS services on OS X Server; that's for 10.6, but — once you check the Show All Records setting in Server.app in 10.7 or 10.8 — it still applies.

     

    To verify most of what can be wrong with the local DNS server configuration, launch Terminal.app from Applications > Utilities, and enter the non-destructive diagnostic command:

     

    sudo changeip -checkhostname

     

    You'll need to enter an administrative password for the sudo, may see a one-time "here be dragons" warning about the use of sudo and that warning message can safely be ignored, then you'll see some data on the host and network configuration, and then an indication whether no changes are required or whether DNS or network changes are likely needed.

     

    What you're looking at is the reverse DNS, and that's based on the subnet and the forward DNS; the reverse DNS is usually automatically added, but I occasionally find I have to clean out the default zones and either manually rebuild things or allow Server.app to rebuild DNS.

  • iboyS Level 1 Level 1 (0 points)

    Hey MrHoffman,

     

    thanks for the explanation and the link - i think many things are more clear know.

     

    But one thing still isn't answered.

     

    What is the difference between the Reversezone

     

    8.1.0.10.in-addr.arpa. and 1.0.10.in-addr.arpa

     

    if the ip of the server is 10.0.1.8

     

    Is this one of the zones corret? Both?

     

    Thanks

    Samir

  • MrHoffman Level 6 Level 6 (13,005 points)

    8.1.0.10.in-addr.arpa. is the DNS reverse zone for the single host 10.0.1.8, and 1.0.10.in-addr.arpa is the reverse zone for the subnet 10.0.1.0/24.  I'd only tend to expect to find 1.0.10.in-addr.arpa and not the 8.1.0.10.in-addr.arpa. zone, assuming a /24 subnet (255.255.255.0) is in play.

  • iboyS Level 1 Level 1 (0 points)

    Thanks a lot! Now I understand a little bit better.

     

    The only question for me is to find out, why sometimes the reverse zone is build like x.1.0.10.in-addr.arpa and sometimes 1.0.10.in-addr.arpa.

     

    Thanks a lot

     

    S

  • MrHoffman Level 6 Level 6 (13,005 points)

    The default installation setup — if there's no other local DNS server — traditionally creates a single-host zone, with a reverse zone, and as you clean that out and create hosts in your own zones for your own local DNS domain(s), you'll get one or more reverse zones created, depending on the IP addresses and subnets in use.

  • iboyS Level 1 Level 1 (0 points)

    Ah, I think I understand my problem.

     

    I have two different servers

    "mac-mini.local" (10.0.1.50) and

    "imac-server.private" (10.0.1.200)

    in my subnet 255.255.255.0  One Public IP Adr. Shared

     

    As I set up the first server i had a reverse zone like 50.1.0.10.in-addr .. and the second was like 1.0.10.in-addr ...

    I think I have to combine the servers with better naming rules ... xxx.server.private and than it shouldn't make any troulbes with reverse lookup zone.