reload force?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Thu Sep 12 23:29:35 UTC 2002


> Hi
> 
> First sorry for my poor english. I hope I can explain my problem
> good/clearly enough.
> 
> I was using BIND 8.x so far on our secondary DNS servers. Sometimes it
> happened that some customer made a typo in the serial.. e.g. 200209120 (one
> zero to much). When this happend I just deleted the zone file (rm
> db.mydomain.com) on the secondary DNS and hit "ndc reload". BIND8 did a new
> AXFR and loaded the zone from primary without any problems. The problem was
> solved.
> 
> Now on BIND 9.x when I delete the file and hit "rndc reload mydomain.com" I
> get the following error:
> 
> ->    named[27383]: zone mydomain.com/IN: refresh: could not set file
> modification time of 'db.mydomain.com': file not found
> 
> However, BIND 9 only does a new AXFR when I reload the whole server. But
> this server has ~2000 domains in named.conf. So the named process needs
> about 7-8 seconds to shutdown and about 5 seconds to load all zones. Thats
> why restart is a really bad solution for this problem.
> 
> OK, so I changed the serial on secondary server and putted in serial (e.g.
> 1) to force the secondary to reload the zone from the primary with lower
> number than it was before. This worked, but it also is a bad solution.
> 
> What is your solution to force a secondary to load a zone with lower serial
> than the current zone?
> 
> Dave
> 
> 
> 
	There will be support for this in 9.3.

	Mark

Usage: rndc [-c config] [-s server] [-p port]
        [-k key-file ] [-y key] [-V] command

command is one of the following:

  reload	Reload configuration file and zones.
  reload zone [class [view]]
		Reload a single zone.
  refresh zone [class [view]]
		Schedule immediate maintenance for a zone.
  retransfer zone [class [view]]
		Retransfer a single zone without checking serial number.
  freeze zone [class [view]]
  		Suspend updates to a dynamic zone.
  unfreeze zone [class [view]]
  		Enable updates to a frozen dynamic zone and reload it.
  reconfig	Reload configuration file and new zones only.
  stats		Write server statistics to the statistics file.
  querylog	Toggle query logging.
  dumpdb	Dump cache(s) to the dump file (named_dump.db).
  stop		Save pending updates to master files and stop the server.
  stop -p	Save pending updates to master files and stop the server
		reporting process id.
  halt		Stop the server without saving pending updates.
  halt -p	Stop the server without saving pending updates reporting
		process id.
  trace		Increment debugging level by one.
  trace level	Change the debugging level.
  notrace	Set debugging level to 0.
  flush 	Flushes all of the server's caches.
  flush [view]	Flushes the server's cache for a view.
  flushname name [view]
		Flush the give name from the server's cache(s)
  status	Display status of the server.
  recursing	Dump the queries that are currently recursing (named.recursing)
  *restart	Restart the server.

* == not yet implemented
Version: 9.3.0a0
--
Mark Andrews, Internet Software Consortium
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