<div dir="ltr">Hi Dears,<br><br>I'm new to NSD and I'm testing it to use in my production environment<br><br>I'm confuse how zonefiles-write works.<br><br>I created some slave zones in /etc/nsd/nsd.conf.d/<br><br>something like that:<br><br>  /etc/nsd/nsd.conf.d/foo.bar.conf<br><br>In this file I have the following content<br><br>---------------------------------------------------------------------------------------------------------<br>zone:<br>    # this server is secondary, X.X.X.X is primary.<br>    name: foo.bar<br>    zonefile: "00/foo.bar/foo.bar"<br>    allow-notify: X.X.X.X key<br>    request-xfr: X.X.X.X  key<br>---------------------------------------------------------------------------------------------------------<br><br><br>In my /etc/nsd/nsd.conf I have the following configuration<br><br>---------------------------------------------------------------------------------------------------------<br>include: "/etc/nsd/nsd.conf.d/*.conf"<br><br>server:<br>   server-count: 1<br>   ip-address: XXX.XXX.XXX.XXX<br>   ip-address: XXX.XXX.XXX.XXX<br>   ip-address: 127.0.0.1<br>   do-ip4: yes<br>   do-ip6: no<br>   port: 53<br>   username: nsd<br>   zonesdir: "/var/lib/nsd/db/"<br>   database: "/var/lib/nsd/nsd.db"<br>   logfile: "/var/log/nsd/nsd.log"<br>   pidfile: "/var/run/nsd/nsd.pid"<br>   xfrdfile: "/var/lib/nsd/xfrd.state"<br>   xfrdir: "/tmp"<br>   hide-version: no<br>   version: "NSD"<br>   zonefiles-write: 3600<br>   rrl-ratelimit: 200<br>   verbosity: 3<br><br>remote-control:<br>    control-enable: yes<br><br>key:<br>   name: "key"<br>   algorithm: hmac-md5<br>   secret: "some key"<br>---------------------------------------------------------------------------------------------------------<br><br>Ok, here's my doubt. The file /var/lib/nsd/db/00/foo.bar/foo.bar would be automatically created after 3600 seconds or I could be run "nsd-control write foo.bar" to create it.<br><br>does zonefile-write works only to zone updates?<br><br>Regards<br></div>