Answer: This answer assumes that your boot scripts are already running svscan in a /service directory. pickdns relies on svscan to start it and to restart it at boot time.
You will have to make three decisions:
pickdns-conf pickdns dnslog /etc/pickdns 1.2.3.20
Tell svscan about the new service:
ln -s /etc/pickdns /service
svscan will start the service within one minute.
Now change directory to /service/pickdns/root, and create a new data file listing the web-server IP addresses in pickdns-data format:
+www.heaven.af.mil:1.2.3.150
+www.heaven.af.mil:1.2.3.151
+www.heaven.af.mil:1.2.3.152
+www.heaven.af.mil:1.2.3.153
# and so on
Run
make
to tell pickdns about the data.
On the heaven.af.mil DNS server, delegate www.heaven.af.mil to 1.2.3.20:
cd /service/tinydns/data
./add-childns www.heaven.af.mil 1.2.3.20
make
Answer: Change directory to /service/pickdns/root, and add location lines to data in pickdns-data format:
%LU:1.2
%LU:1.5
+www.heaven.af.mil:1.2.3.220:LU
+www.heaven.af.mil:1.2.3.221:LU
+www.heaven.af.mil:1.2.3.222:LU
The location code LU must be 1 or 2 bytes long.
Run
make
to tell pickdns about the data.
Answer: IANA has a summary of IP address locations, which I've converted into a Network Continent Guide in pickdns-data format.