: Кто-нибудь делегировал реверсы для сетей меньших 255 адресов?<br>: Plz, подскажите..<br>конечно этого лучше не делать, а если делать, то<br>предварительно прочитав документацию, типа <br>DNS-FAQ:<br>uestion 5.4. Subnetted domain name service<p>Date: Mon Aug 5 23:00:16 EDT 1996<p>If you are looking for some examples of handling subnetted class C<br>networks as separate DNS domains, see the Internet Draft<p>draft-ietf-cidrd-classless-inaddr-02.txt<p>for more information. This file is available for anonymous ftp at<p>ds.internic.net :<br>/internet-drafts/draft-ietf-cidrd-classless-inaddr-02.txt<p>or other IETF mirror sites (ftp.is.ca.za [Africa], nic.nordu.net [Europe],<br>munnari.oz.au [Pacific Rim], ds.internic.net [US East Coast], or<br>ftp.isi.edu [US West Coast]).<p>Details follow- You need to delegate down to the fourth octet, so you will<br>have one domain per IP address ! Here is how you can subdelegate a<br>in-addr.arpa address for non-byte aligned subnet masks:<p>Take as an example the net 192.1.1.x, and example subnet mask<br>255.255.255.240.<p>We first define the domain for the class C net,<p> $origin 1.1.192.in-addr.arpa<br> @ SOA (usual stuff)<br> @ ns some.nameserver<br> ns some.other.nameserver<br> ; delegate a subdomain<br> one ns one.nameserver<br> ns some.nameserver<br> ; delegate another<br> two ns two.nameserver<br> ns some.nameserver<br> ; CNAME pointers to subdomain one<br> 0 CNAME 0.one<br> 1 CNAME 1.one<br> ; through<br> 15 CNAME 15.one<br> ; CNAME pointers to subdomain two<br> 16 CNAME 16.two<br> 17 CNAME 17.two<br> 31 CNAME 31.two<br> ; CNAME as many as required.<p>Now, in the delegated nameserver, one.nameserver<p> $origin one.1.1.192.in-addr.arpa<br> @ SOA (usual stuff)<br> NS one.nameserver<br> NS some.nameserver ; secondary for us<br> 0 PTR onenet.one.domain<br> 1 PTR onehost.one.domain<br> ; through<br> 15 PTR lasthost.one.domain<p>And similar for the two.1.1.192.in-addr.arpa delegated domain.<p>There is additional documentation and a perl script that may be used for<br>this purpose available for anonymous ftp from:<p>ftp.vix.com : /pub/bind/contrib/gencidrzone
|