Reverse DNS Look-ups & subdomains

Reverse DNS Look-ups & subdomains

Post by Steven W. Eng » Sat, 23 Mar 1996 04:00:00



We are operating a DNS server which is responsible a domain (example:
company.com). Works find, handles forward and reverse DNS look-ups for
company.com and the Internet (by a forwarders statement to our firewall)
just fine.

We have recently added another DNS server, it is responsible for a
subdomain (example: div.company.com). We put glue records for
div.company.com in the DNS server for company.com.

div.company.com.    86400   IN      NS      ns1.div.company.com.
ns1.div.company.com.     86400   IN      A       123.123.123.123

With this, forward DNS look-ups down into div.company.com from company.com
work, i.e., we get addresses back for hosts within div.company.com. Yet
when we perform reverse lookups from within the company.com domain using
host IP addresses within div.company.com, the lookup fails (can't find
host/domain for requested address).

I suspect we have a problem with no in-addr.arpa records in company.com's
DNS pointing down to div.company.com DNS server - yet I am unsure of how
to construct the necessary DNS database file(s) for company.com's DNS to
do this, especially the SOA record(s).

A complicating factor is that within div.company.com, there are multiple
networks, each with their own network address. How does the DNS server for
company.com know where these networks are so reverse look-ups for
addresses within div.company.com can be forwarded to div.company.com's DNS
server?

Sorry this got kind of long but we're confused. :-(

Thanx!
--
Steve Engle
DHT, Inc.

 
 
 

Reverse DNS Look-ups & subdomains

Post by Dobrica Pavlinus » Thu, 28 Mar 1996 04:00:00



[snip]

: We have recently added another DNS server, it is responsible for a
: subdomain (example: div.company.com). We put glue records for
: div.company.com in the DNS server for company.com.

: div.company.com.    86400   IN      NS      ns1.div.company.com.
: ns1.div.company.com.     86400   IN      A       123.123.123.123

: With this, forward DNS look-ups down into div.company.com from company.com
: work, i.e., we get addresses back for hosts within div.company.com. Yet
: when we perform reverse lookups from within the company.com domain using
: host IP addresses within div.company.com, the lookup fails (can't find
: host/domain for requested address).

Try following...
in boot file for named you have (hopefully)

primary         company.com.            hosts.db
primary         xxx.xxx.xxx.in-adr.arpa hosts.rev

now add

secondary       div.company.com.        123.123.123.123
secondary       123.123.123.in-adr.arpa 123.123.123.123

Now configure ns1.div.company.com named just line company.com's one.
(different IP and names, ofcourse :-). If you need more e-mail is o.k.

--

Dobrica Pavlinusic                                  ...2 share ! 2 flame...


 
 
 

1. DNS look-ups with C++

Hello,

    I am programming a network app that needs to reverse host-name
look-up.  This means that given an IP address x.x.x.x, it needs to be
able to request the registered name associated server from DNS.
    What would be the easiest way to do this?  Is there a function
somewhere that is all ready to go?
    Any information that can be provided is most helpful.

Thanks,
Brian Ferris

2. VIA KT133 686B Chipset

3. Thinkpad 760 and X

4. DNS & subdomains

5. BusLogic bt946 SCSI Controller

6. Sendmail,DNS, subdomains, mail hubs, & Redhat 6.1

7. (Q) Ignorant question on ftape

8. disable reverse DNS look-up - how do I do it

9. &&&&----Looking for a unix shell------&&&&&

10. DNS - reverse lookup & timeout

11. Reverse DNS & C subnetworks

12. qpopper & reverse DNS lookup