0% found this document useful (0 votes)
136 views

Initiating A Zone Transfer - DNS & Bind Cookbook

Bind DNS

Uploaded by

James Omara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
136 views

Initiating A Zone Transfer - DNS & Bind Cookbook

Bind DNS

Uploaded by

James Omara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Initiating a Zone Transfer - DNS & Bind Cookbook 3/24/2015

DNS & Bind Cookbook

PREV NEXT
Adding or Removing Zones Without Restarting or Reloading the Name Serv… Restarting a Name Server Automatically If It Dies

Initiating a Zone Transfer


Problem
You want a slave name server to initiate a zone transfer immediately.

Solution
Use the command rndc refresh domain-name-of-zone (for BIND 9) or ndc reload domain-name-of-zone (for BIND 8). For example:

# rndc refresh bar.example

Discussion
Note that neither command will cause a zone transfer if the master name server has an equal or lower serial number for the zone: the slave will
check the serial number, see that its copy of the zone is current and go back to waiting for the next NOTIFY message or for the refresh timer to
pop. If you really need to force a zone transfer to a slave, you’ll have to delete the backup zone data file and restart -- not reload -- the name
server.

Refreshing or reloading individual zones, as shown above, was introduced in BIND 8.2.1 and again in 9.1.0. With older versions of BIND, just use
rndc refresh or ndc reload, as appropriate. A full reload takes some time on a name server authoritative for lots of zones, since the name server
checks all zone data files to see which have changed.

If you’re refreshing a zone that exists in multiple views on a BIND 9 name server, specify the view with rndc refresh domain-name-of-zone class
view. For example:

# rndc refresh bar.example in external

Unfortunately, you can’t leave out the class, even though your slave name server probably doesn’t serve any non-Internet class zones.

See Also
“Controlling the Name Server” in Chapter 7 of DNS and BIND .

PREV NEXT
Adding or Removing Zones Without Restarting or Reloading the Name Serv… Restarting a Name Server Automatically If It Dies

Blog / Feedback / Sign In


Unlock the rest of this book
Unlock the rest of this book
© 2015 Safari.
Learn about
Terms of Service / Membership Agreement Safari
/ Privacy Policyfor Business
Have an account? Sign in.

https://www.safaribooksonline.com/library/view/dns-bind/0596004109/ch05s08.html 1/1

You might also like