pickdns-data — compile the database used by pickdns
pickdns-data compiles a database in source form, in the file
data, into a compiled form, in the file
data.cdb, that is used by pickdns(1).
The compiled database in
data.cdb is a Bernstein Constant Database file.
data.cdb atomically, building a replacement in
data.cdb.tmp and atomically renaming that replacement into place when it has completely and successfully built it it and written it to disc.
So you can use it safely while pickdns(1) is running.
Trailing whitespace is removed from all lines, then all non-empty lines are recognized as follows:
Comments are ignored.
All client IP addresses that match the IP address prefix
prefix are to be taken as being in location
The domain name
name maps to the IP address
addr for clients in location
The colon immediately precending it can be omitted if
location is a zero-length string.
This is an alternative comment line, and is ignored.
This permits text-editing tools to turn entries off and on by changing the first character of the line between