Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!waikato.ac.nz!aukuni.ac.nz!rob Newsgroups: comp.protocols.tcp-ip.domains Subject: Re: Subnets and IN-ADDR.ARPA Message-ID: From: rob@cs.aukuni.ac.nz (Rob Burrowes ) Date: 12 Apr 91 01:20:17 GMT Sender: news@ccu1.aukuni.ac.nz (News Owner) References: <1991Apr11.090926.24784@bernina.ethz.ch> Organization: University of Auckland, New Zealand. Keywords: subnets IN-ADDR.ARPA Nntp-Posting-Host: cs7.cs.aukuni.ac.nz Lines: 49 >>rob@cs.aukuni.ac.nz (Rob Burrowes ) writes: (me) >>Our domain is cs.aukuni.ac.nz and the server(s) look after addresses >>130.216.32.x through 130.216.39.x. These being subnets 32 - 39 of 130.216. >>The domain aukuni.ac.nz is looks after all other subnets of 130.216. >>My problem is obtaining the hostname from the address using the IN-ADDR.ARPA >>domain. How do we tell aukuni.ac.nz's BIND server and our BIND server that >>request for the hostname of say 130.216.34.2 should be directed to the >>cs.aukuni.ac.nz. server while requests for 130.216.1.2 should be handled by >>the aukuni.ac.nz server. Currently aukuni.ac.nz's server attemps to handle Thanks to everyone who replied. $origin x.216.130.in-addr.arpa. RMD=SWITCH/ADMD=ARCOM/C=CH/ @ SOA ... for each of the subnets and had aukuni.ac.nz.'s servers put NS records in for each subnet. and it all seems to be working. In karrer@bernina.ethz.ch (Andreas Karrer) writes: >But then, what do you do if your subnet mask is 255.255.255.192 as ours? In RFC 1101 I read of a scheme for naming of nets and subnets using PTR RR's eg. 0.0.216.130.IN-ADDR.ARPA IN PTR aukuni.ac.nz. IN A 255.255.255.0 0.33.216.130.IN-ADDR.ARPA. IN PTR cs-grad.cs.aukuni.ac.nz. Perhaps by extending this to include NS records eg. 0.0.216.130.IN-ADDR.ARPA IN PTR aukuni.ac.nz. IN A 255.255.255.0 IN NS ccu1.aukuni.ac.nz 0.33.216.130.IN-ADDR.ARPA. IN PTR cs-grad.cs.aukuni.ac.nz. IN NS cs18.cs.aukuni.ac.nz. etc. That way a 255.255.255.192 subnet could specify nameservers. Reverse address searches would then follow the same sort of search outlined in rfc 1101 and having found the net or subnet look for NS RR's. -- Rob Burrowes rob@cs.aukuni.ac.nz. System Admin Computer Science Dept., Auckland University, Private Bag, Auckland, New Zealand -- New administrater uofa.