Classless CIDR delegation...
Matus UHLAR - fantomas
uhlar at fantomas.sk
Mon Aug 17 09:17:03 UTC 2009
On 15.08.09 18:59, Gregory Hicks wrote:
> zone "96-28.55.139.64.in-addr.arpa" {
> type master ;
> file "db.96-28.55.139.64.in-addr.arpa" ;
> allow-update { none; };
> };
replace this with:
> 96-28.55.139.64.in-addr.arpa. IN SOA ns.hicks.net. hostmaster.ns.hicks-net.net ( 2009081502 ; serial
with:
@ IN SOA ns.hicks.net. hostmaster.ns.hicks-net.net ( 2009081502 ; serial
> 3600 ; refresh
> 900 ; retry
> 604800 ; expire (1 week)
> 3600 ; minimum (1 hour)
> )
>
> IN NS ns.hicks-net.net.
> IN NS ns0.xname.org.
> IN NS NS1.xname.org
> IN A 64.139.55.108
> IN MX 10 mx.hicks-net.net.
and these:
> 97.139.55.64.in-addr.arpa. IN PTR localhost. ; rtr.hicks-net.net.
> 98.139.55.64.in-addr.arpa. IN PTR localhost. ; fw.hicks-net.net.
> 99.139.55.64.in-addr.arpa. IN PTR mx.hicks-net.net ; mx.hicks-net.net.
> 100.139.55.64.in-addr.arpa. IN PTR young-one.hicks-net.net.
> 101.139.55.64.in-addr.arpa. IN PTR young.hicks-net.net.
> 102.139.55.64.in-addr.arpa. IN PTR kris.hicks-net.net. (laptop)
> 108.139.55.64.in-addr.arpa. IN PTR metis.hicks-net.net.
with these:
97 IN PTR rtr.hicks-net.net.
98 IN PTR fw.hicks-net.net.
99 IN PTR mx.hicks-net.net ; mx.hicks-net.net.
100 IN PTR young-one.hicks-net.net.
101 IN PTR young.hicks-net.net.
102 IN PTR kris.hicks-net.net. (laptop)
108 IN PTR metis.hicks-net.net.
- the zone name will only be specified in one place (named's "zone"
directive)
- don't use "localhost" for reverse name unless it's reverse for 127.0.0.1
- your zone is:
96-28.55.139.64.in-addr.arpa. so you must define PTR records in:
96-28.55.139.64.in-addr.arpa. and not in:
55.139.64.in-addr.arpa.
Not that there is not anything special in processing classless DNS
delegation. It's simply cnaming records to another sone that might be
delegated:
96.55.139.64.in-addr.arpa. is CNAMEd to
96.96-28.55.139.64.in-addr.arpa.
and that is further forwarded to authoritative servers for
96-28.55.139.64.in-addr.arpa and those must resolve:
96.96-28.55.139.64.in-addr.arpa. PTR <anything>.
Those records may be aliased to whatever domain:
96.55.139.64.in-addr.arpa. CNAME 96.96-28.55.139.64.in-addr.arpa.
96.55.139.64.in-addr.arpa. CNAME 96.96/28.55.139.64.in-addr.arpa.
96.55.139.64.in-addr.arpa. CNAME 96.whatever.55.139.64.in-addr.arpa.
or even to:
96.55.139.64.in-addr.arpa. CNAME 96.hicks-net.net.
the second way (96/28) is preferred by RFC2317. Ask your ISP which way he
requires/supports.
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of.
More information about the bind-users
mailing list