NLnetLabs / nsd

The NLnet Labs Name Server Daemon (NSD) is an authoritative, RFC compliant DNS nameserver.

Home Page:https://nlnetlabs.nl/nsd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbaccess.c, dbcreate.c, difffile.c and difffile.h

anandb-ripencc opened this issue · comments

From what I can see, the code in these files is no longer used by NSD. However, they are still being compiled and linked into the nsd binary. Is it time to remove them?

These files are still very much required. difffile.c for example contains most of the code used handling tasklist items (IPC mechanism used in NSD). Perhaps you're assuming that with the removal of the on-disk binary database these can be removed(?) However, NSD still uses an in-memory database, so while we removed storing information on disk in binary form, the in-memory database remains unchanged.

Ah okay, thanks for the explanation @k0ekk0ek! I'll close the issue.