<div dir="ltr"><div style="font-family:monospace,monospace" class="gmail_default">I've built/installed<br><br>    /usr/local/nsd4/sbin/nsd -v<br>        NSD version 4.1.25<br>        Written by NLnet Labs.<br><br>        Copyright (C) 2001-2006 NLnet Labs.  This is free software.<br>        There is NO warranty; not even for MERCHANTABILITY or FITNESS<br>        FOR A PARTICULAR PURPOSE.<br><br>Runs well.<br><br>On server restart, I find occassionally that NSD4's not UP.  starting it manually is immediately successful.<br><br>I've found, so far, no relevant errors in systemd journal or nsd logs.<br><br>I did noticed, checking immediately after noticing one of these^ 'bad' restarts,<br><br>    systemctl status -l nsd4-custom<br>        ● nsd4-custom.service - NSD4 DNS Server<br>           Loaded: loaded (/etc/systemd/system/nsd4-custom.service; enabled; vendor preset: disabled)<br>!!!           Active: inactive (dead) since Wed 2018-10-17 11:14:41 PDT; 30min ago<br>          Process: 1367 ExecStopPost=/bin/rm -f /var/chroot/nsd4/var/db/nsd/xfrd.state (code=exited, status=0/SUCCESS)<br>          Process: 1296 ExecStop=/usr/local/nsd4/sbin/nsd-control -c /var/chroot/nsd4/etc/nsd.conf stop (code=exited, status=0/SUCCESS)<br>          Process: 1280 ExecStart=/usr/local/nsd4/sbin/nsd-control -c /var/chroot/nsd4/etc/nsd.conf start (code=exited, status=0/SUCCESS)<br>         Main PID: 1280 (code=exited, status=0/SUCCESS)<br><br>>>>        Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.<br><br><br>Don't know if that's 'fatal' to nsd.<br><br>I launch nsd with systemd,<br><br>    cat /etc/systemd/system/nsd4-custom.service<br>        [Unit]<br>        Description=NSD4 DNS Server<br>        After=syslog.target network-online.target<br>        Before=nsd4-custom.target<br>        Before=unbound.service<br>        Requires=unbound.service<br><br>        [Service]<br>        PIDFile=/var/chroot/nsd4/var/run/nsd/nsd.pid<br>        ExecStart=/usr/local/nsd4/sbin/nsd-control  -c /var/chroot/nsd4/etc/nsd.conf start<br>        ExecReload=/usr/local/nsd4/sbin/nsd-control -c /var/chroot/nsd4/etc/nsd.conf reload<br>        ExecStop=/usr/local/nsd4/sbin/nsd-control   -c /var/chroot/nsd4/etc/nsd.conf stop<br>        ExecStopPost=/bin/rm -f /var/chroot/nsd4/var/db/nsd/xfrd.state<br><br>        [Install]<br>        WantedBy=multi-user.target<br><br>and rotate logs with<br><br>    cat /etc/logrotate.d/nsd4<br>        /var/log/nsd4/*.log {<br>            daily<br>            missingok<br>            rotate 14<br>            compress<br>            delaycompress<br>            compresscmd /usr/bin/xz<br>            uncompresscmd /usr/bin/unxz<br>            create 640 nsd nsd<br>            sharedscripts<br>            dateext<br>            dateformat .%Y-%m-%d.%s<br>            postrotate<br>                /usr/local/nsd4/sbin/nsd-control log_reopen<br>            endscript<br>        }<br><br>Is any of that^ problematic, possibly causal?  Or is there some other place I should be looking?</div></div>