How to migrate bind to another IP block?
Mark Andrews
Mark_Andrews at isc.org
Mon Jul 24 23:04:32 UTC 2006
>
> I have to move some domains and their DNS server from a class C to a new
> /27 block elsewhere. Can someone provide an example of a minimal
> (skeleton) named.conf and db.something to help me get bind set up? I'm
> also moving an MTA, so an MX record would be helpful.
>
> Thanks in advance,
>
> -Steve
>
The only real difference is that you don't have a full /24
assigned to you. This needs to be handled specially.
See RFC 2317, Classless IN-ADDR.ARPA delegation.
Assuming you have been delegated 1.2.3.32/27 and you and
your ISP decide to use 32-63.3.2.1.in-addr.arpa as the zone
name your side should look something like this.
You will have a local copy of the reverse for the /24 your
address space is delegated from. This will allow you to
always have the CNAMEs to map from the well known names to
the names that actually have the PTR records even when your
external link is down. You will also have a zone
(32-63.3.2.1.in-addr.arpa) with the PTR records.
Mark
zone "3.2.1.in-addr.arpa" {
type slave;
file "slave/3.2.1.in-addr.arpa";
masters { /* ISP's auth servers here */ };
notify no;
};
zone "32-63.3.2.1.in-addr.arpa" {
type master;
file "master/32-63.3.2.1.in-addr.arpa";
};
master/32-63.1.2.3.in-addr.arpa:
$TTL 3600
@ SOA ...
@ NS ...
@ NS ...
33 PTR ...
34 PTR ...
...
62 PTR ...
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list