[nsd-users] Old-main quit during quit sync

Otto Retter otto at relax.theregoesmy.email
Sat Jan 4 16:10:00 UTC 2025


Hi all,

I'm running NSD 4.9.1 on OpenBSD 7.6. I recently upgraded from OpenBSD 
7.5, which I believe had NSD 4.8.0 in base, and did not see this 
behavior prior.

When I try to reload a zone using nsd-control, I am seeing an error 
message in my logfile: "error: reload: old-main quit during quit sync"

This error does not appear to happen every time I run reload, but it 
does get recorded to the logfile "more often than not" after a reload. 
When it does happen, it appears that the zone still successfully 
reloads. The error can show up when I reload any of my zones, and it 
does not appear to matter if I modified the zone. I cranked up verbosity 
to "3" but did not get much more detail. Below example is for my testing 
zone:

'''
$ nsd-control reload testing.internal
ok
$ echo $?
0
'''

and the relevant entries in nsd.log:
'''
[2025-01-04 14:55:30.652] nsd[69351]: info: new control connection from 
127.0.0.1
[2025-01-04 14:55:30.711] nsd[69351]: info: remote control connection 
authenticated
[2025-01-04 14:55:30.711] nsd[69351]: info: control cmd:  reload 
testing.internal
[2025-01-04 14:55:30.712] nsd[69351]: info: remote control operation 
completed
[2025-01-04 14:55:30.713] nsd[40839]: info: zonefile 
testing.internal.forward is not modified
[2025-01-04 14:55:30.723] nsd[40839]: error: reload: old-main quit 
during quit sync
'''

relevant snippets from nsd.conf:
'''
server:
         server-count: 1
         verbosity: 3
         zonesdir: "/var/nsd/etc/zones/"
         logfile: "/var/log/nsd.log"
         zonefiles-write: 60
zone:
         name: "testing.internal"
         zonefile: "testing.internal.forward"
'''

Anyone else seeing similar behavior or can tell me if I'm doing 
something wrong? Happy to compile latest or follow other suggested 
troubleshooting steps.

Thanks,
Otto


More information about the nsd-users mailing list