Discussion:
Promoting secondary to primary DNS server
sudhakar
2002-11-07 18:07:22 UTC
Permalink
Hi all,
I'm a newbie to this list.
I'd appreicate if anyone of you gurus can point me to a link or resource
with the help of which I can promote a secondary DNS server to a Primary DNS
server.
I'm using BIND 8.2 on Linux 6.2.
I'd really be grateful for your comments and suggestions.

Thanks,

Sudhakar
Kevin Darcy
2002-11-07 18:58:25 UTC
Permalink
Post by sudhakar
Hi all,
I'm a newbie to this list.
I'd appreicate if anyone of you gurus can point me to a link or resource
with the help of which I can promote a secondary DNS server to a Primary DNS
server.
I'm using BIND 8.2 on Linux 6.2.
I'd really be grateful for your comments and suggestions.
If the zone is not Dynamically-Update-able, it should be as simple as changing
the zone definition and reloading (or "reconfig"ing followed by reloading that
particular zone).

If you have Dynamic Update for the zone, then you'll probably want to change
the MNAME field of the SOA record to reflect the new master. You can actually
update an SOA record through Dynamic Update, but it's a little tricky (from
nsupdate, you need to do an "add", and the serial number of the new record must
be higher than that of the old record, otherwise the update will be silently
ignored).


- Kevin
sudhakar
2002-11-07 19:16:59 UTC
Permalink
Hi Kevin,
Thanks a lot for the response.
My secondary DNS server is gets its dynamic updates from the primary, now I
want my secondary DNS server to act as the primary, I'd appreciate if you
can guide on this issue.

Thanks,

Sudhakar

-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Kevin Darcy
Sent: Thursday, November 07, 2002 1:58 PM
To: bind-users at isc.org
Subject: Re: Promoting secondary to primary DNS server
Post by sudhakar
Hi all,
I'm a newbie to this list.
I'd appreicate if anyone of you gurus can point me to a link or resource
with the help of which I can promote a secondary DNS server to a Primary
DNS
Post by sudhakar
server.
I'm using BIND 8.2 on Linux 6.2.
I'd really be grateful for your comments and suggestions.
If the zone is not Dynamically-Update-able, it should be as simple as
changing
the zone definition and reloading (or "reconfig"ing followed by reloading
that
particular zone).

If you have Dynamic Update for the zone, then you'll probably want to change
the MNAME field of the SOA record to reflect the new master. You can
actually
update an SOA record through Dynamic Update, but it's a little tricky (from
nsupdate, you need to do an "add", and the serial number of the new record
must
be higher than that of the old record, otherwise the update will be silently
ignored).


- Kevin
Cricket Liu
2002-11-07 20:39:08 UTC
Permalink
Post by sudhakar
Thanks a lot for the response.
My secondary DNS server is gets its dynamic updates from the primary,
now I want my secondary DNS server to act as the primary, I'd
appreciate if you can guide on this issue.
Basically,

- Change the secondary's zone statement(s) from "type slave" to "type
master" and delete the "masters" substatement(s).
- Edit the zone(s) and change the contents of the SOA record(s)'s
MNAME field.
- Adjust other zone substatements as necessary (e.g., allow-transfer).
- Reconfigure other secondaries, as necessary (e.g., change the IP
address in their masters substatements).
- Reload all modified name servers.

See also Recipe 5.24 of the Cookbook.

cricket

Men & Mice
DNS Software, Training and Consulting
www.menandmice.com

The DNS and BIND Cookbook, available now!
http://www.oreilly.com/catalog/dnsbindckbk/
sudhakar
2002-11-07 21:13:30 UTC
Permalink
Hi all,
Thanks a lot for immediate responses. I'll do the necessary changes and keep
you posted.

-Sudhakar

-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Cricket Liu
Sent: Thursday, November 07, 2002 3:39 PM
To: bind-users at isc.org
Subject: Re: Promoting secondary to primary DNS server
Post by sudhakar
Thanks a lot for the response.
My secondary DNS server is gets its dynamic updates from the primary,
now I want my secondary DNS server to act as the primary, I'd
appreciate if you can guide on this issue.
Basically,

- Change the secondary's zone statement(s) from "type slave" to "type
master" and delete the "masters" substatement(s).
- Edit the zone(s) and change the contents of the SOA record(s)'s
MNAME field.
- Adjust other zone substatements as necessary (e.g., allow-transfer).
- Reconfigure other secondaries, as necessary (e.g., change the IP
address in their masters substatements).
- Reload all modified name servers.

See also Recipe 5.24 of the Cookbook.

cricket

Men & Mice
DNS Software, Training and Consulting
www.menandmice.com

The DNS and BIND Cookbook, available now!
http://www.oreilly.com/catalog/dnsbindckbk/
Per Holmqvist
2002-11-18 17:32:13 UTC
Permalink
<Pelle>

Hello everyone.
Can someone give me an WORKING URL to examples and download for running
BIND with SQL.

</Pelle>

Loading...