{"id":159,"date":"2007-12-17T23:33:00","date_gmt":"2007-12-17T23:33:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=159"},"modified":"2007-12-17T23:33:00","modified_gmt":"2007-12-17T23:33:00","slug":"debugging-powerdns","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=159","title":{"rendered":"Debugging PowerDNS"},"content":{"rendered":"<p>Run &#8220;service pdns monitor&#8221; and it will show the live running stats, very useful for debugging geobackend.<\/p>\n<h4>Sample Output<\/h4>\n<p>[root@s203 fold]# service pdns monitor<br \/>\nDec 17 18:59:29 [GeoBackend] This is the geobackend (Aug 30 2007, 15:24:28 &#8211; $Revision: 1.1 $) reporting<br \/>\nDec 17 18:59:29 This is a standalone pdns<br \/>\nDec 17 18:59:29 UDP server bound to xx.xx.xx.xx:53<br \/>\nDec 17 18:59:29 TCP server bound to xx.xx.xx.xx:53<br \/>\nDec 17 18:59:29 PowerDNS 2.9.x (C) 2001-2006 PowerDNS.COM BV (Aug 30 2007, 15:25:05, gcc 3.4.6 20060404 (Red Hat 3.4.6-3)) starting up<br \/>\nDec 17 18:59:29 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.<br \/>\nDec 17 18:59:29 Creating backend connection for TCP<br \/>\nDec 17 18:59:29 [bindbackend] Parsing 1 domain(s), will report when done<br \/>\nDec 17 18:59:29 [bindbackend] Done parsing domains, 0 rejected, 1 new, 0 removed<br \/>\nDec 17 18:59:29 [geobackend] Parsing IP map zonefile<br \/>\n% Dec 17 18:59:29 Launched webserver on 127.0.0.1:8081<br \/>\nDec 17 18:59:30 [geobackend] Finished parsing IP map zonefile: added 83781 prefixes, stored in 208428 nodes using 2501136 bytes of memory<br \/>\nDec 17 18:59:30 [geobackend] Parsing director map \/mapping.dns<br \/>\nDec 17 18:59:30 [geobackend] Finished parsing 1 director map files, 0 failures<br \/>\nDec 17 18:59:30 About to create 3 backend threads for UDP<br \/>\nDec 17 18:59:30 Done launching threads, ready to distribute questions<br \/>\nDec 17 18:59:34 [geobackend] Serving blog.trungson.com CNAME us.blog.trungson.com to 69.1.xx.xx (840)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Run &#8220;service pdns monitor&#8221; and it will show the live running stats, very useful for debugging geobackend. Sample Output [root@s203 fold]# service pdns monitor Dec 17 18:59:29 [GeoBackend] This is the geobackend (Aug 30 2007, 15:24:28 &#8211; $Revision: 1.1 $) reporting Dec 17 18:59:29 This is a standalone pdns Dec 17 18:59:29 UDP server bound [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/159"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/159\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}