[nsd-users] Question on slave
Jean-Christophe Boggio
nsd at thefreecat.org
Mon Dec 4 12:47:53 UTC 2023
Hello,
I am switching from djbdns and have a (probably dumb) question before
going live with nsd:
When syncing between master and slaves, am I supposed to see new files
appear in the slave's "zonesdir" directory? Because, as you might
expect, I see nothing here. Is this behavior normal? From what I
understand, the slave "caches" the data in /var/lib/nsd/nsd.db (I'm
using debian).
What I have done is create the whole master config (with all the zones
and notify+provide-xfr fields) and, on the slave, only defined the
"server" part of the config and, for each zone, the allow-notify and
request-xfr fields.
When, on the slave, I execute "nsd-control force_transfer gosane.fr" i
just get an "ok" message.
Then "nsd-control zonestatus gosane.Fr" spits out:
zone: gosane.fr
state: ok
served-serial: "2023110103 since 2023-12-04T12:39:04"
commit-serial: "2023110103 since 2023-12-04T12:39:04"
wait: "80812 sec between attempts"
That looks fine to me (the slave had no way to know the serial). Also
querying the slave directly gives me the right answers.
Can anyone confirm that it is working as expected?
Thanks for your help,
JC
More information about the nsd-users
mailing list