Recipe 24.21. Testing Your tinydns Server

 < Day Day Up > 

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

  • Command-line tools to look up DNS information (http://cr.yp.to/djbdns/tools.html)

  • Command-line tools to debug DNS configuration (http://cr.yp.to/djbdns/debugging.html)

     < Day Day Up > 


    Linux Cookbook
    Linux Cookbook
    ISBN: 0596006403
    EAN: 2147483647
    Year: 2004
    Pages: 434

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net