To add additional domain names to a TinyDNS server using DJBDNS on a FreeBSD system, you will need to do the following:
Edit the DNS data file for your TinyDNS server to include the additional domain names. The DNS data file specifies the DNS records for your domain, and should be in a specific format, as described in the TinyDNS documentation.
Run the make
command to compile the DNS data file and update the database files:
# cd /usr/local/tinydns/primary # make
# service tinydns restart
dig
command:# dig @localhost example.com
This should return the DNS records for the domain example.com
.
For more information about configuring and using the DJBDNS TinyDNS server, you can refer to the DJBDNS documentation.