{"id":1005,"date":"2012-08-15T12:07:40","date_gmt":"2012-08-15T17:07:40","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=1005"},"modified":"2012-08-15T12:07:40","modified_gmt":"2012-08-15T17:07:40","slug":"ubuntu-bind-webmin-nxdomain","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2012\/08\/ubuntu-bind-webmin-nxdomain\/","title":{"rendered":"Ubuntu BIND Webmin NXDOMAIN"},"content":{"rendered":"<p>I had setup two BIND9 servers on ubuntu to service all VPN connected users.  They were both linked just fine.  I managed BIND via webmin installed.<\/p>\n<p>A linux user and a Mac user were connecting to the VPN and then finding they could no longer connect to any web sites outside of the DNS domain.<\/p>\n<blockquote><p><code>nslookup google.com<\/code><br \/>\n;; Got recursion not available from 10.10.5.60, trying next server<br \/>\nServer: 10.10.5.61<br \/>\nAddress: 10.10.5.61#53<br \/>\n** server can&#8217;t find google.com: NXDOMAIN<\/p><\/blockquote>\n<p>Well that&#8217;s no good. First server isn&#8217;t allowing recursive connections and the second one is not forwarding properly.  I checked webmin and saw in the forwarding and transfers section that I had, indeed, already added 8.8.8.8, 8.8.4.4, 4.2.2.2, and 10.10.5.70 (internal DNS).  So why was it not working?<\/p>\n<p>Fired up putty and SSH&#8217;d in<br \/>\n<code>nano \/etc\/bind\/named.conf.options<\/code><br \/>\nUnder the options { area add the following:<br \/>\n<code>allow-query { any; };<\/code><br \/>\n<code>allow-recursion { any; };<\/code><br \/>\nSave and quit<\/p>\n<p>Reload Bind<br \/>\n<code>\/etc\/init.d\/bind9 reload<\/code><\/p>\n<p>Profit<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had setup two BIND9 servers on ubuntu to service all VPN connected users. They were both linked just fine. I managed BIND via webmin installed. A linux user and a Mac user were connecting to the VPN and then finding they could no longer connect to any web sites outside of the DNS domain. &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2012\/08\/ubuntu-bind-webmin-nxdomain\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ubuntu BIND Webmin NXDOMAIN<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1005","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1005"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1005\/revisions"}],"predecessor-version":[{"id":1006,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1005\/revisions\/1006"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}