Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/ndb/zonefresh/README

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.



axfr does zone transfer from a remote dns server
zonefresh.rc is a script that tries to format axfr's
output nicely as a plan9 NDB file to sttandard output.

zonefresh has one option, -s which causes it to write its output
to /lib/ndb/sec.domain.dom, taking care not to truncate the file if
the zone transfer fails.

This is typically used to keep a local ndb file for a remote
dns server up to date so we can provide a seccondary dns service

run from cron as:

15 5 * * *	cpu		zonefresh  -s ns.domain.dom domain.dom



Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.