Previous Section  < Day Day Up >  Next Section

Recipe 24.21. Testing Your tinydns Server

24.21.1 Problem

You want to check your tinydns configuration to see exactly what information tinydns will provide in response to queries.

24.21.2 Solution

djbdns comes with a number of useful querying utilities. Use tinydns-get to query your tinydns server. Run this command from the directory in which your data.cdb file is located. First tell what type of server it is, then give the domain name:

$ tinydns-get mx pixels.net

15 pixels.net:

80 bytes, 1+0+1+0 records, response, authoritative, noerror

query: 15 pixels.net

authority: pixels.net 2560 SOA a.ns.pixels.net hostmaster.pixels.net 1093229912 16384 2048

 1048576 2560

24.21.3 Discussion

This is the quickest and easiest way to test your tinydns server. Run it every so often just to keep an eye on it. tinydns is very reliable and secure, so odds are any problems will be due to human error.

24.21.4 See Also

    Previous Section  < Day Day Up >  Next Section