<div dir="ltr">Hello<div><br></div><div>Wat am I missing? I have this:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">launch=pipe,bind </span><br>pipe-command=/usr/local/libexec/latency.pdns.plugin <br>pipe-regex=^.*\.(mylocaldomain)\.(net);.*$ <br>bind-config=/etc/named.pdns.conf <br>bind-check-interval=300 <br>bind-ignore-broken-records=no</span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">send-root-referral=lean</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">allow-recursion=<a href="http://192.168.7.0/24">192.168.7.0/24</a></span></span></div><div><span style="font-family:monospace"><font color="#000000"><br></font></span></div><div><span style="font-family:monospace"><font color="#000000">/etc/named.pdns.conf looks like this</font></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">zone "<a href="http://mylocaldomain.net">mylocaldomain.net</a>" IN { </span><br> type master; <br> file "/var/named/data/<a href="http://mylocaldomain.net">mylocaldomain.net</a>"; <br>}; <br>
<br>zone "<a href="http://root-servers.net">root-servers.net</a>" IN { <br> type master; <br> file "/var/named/data/<a href="http://named.ca">named.ca</a>"; <br>};<br>
<br><br>when I do a dig, or a host, i get this:</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">dig <a href="http://google.com">google.com</a> @PUBLICIP</span><br>
<br>; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 <<>> . @PUBLICIP<br>;; global options: +cmd
<br>;; Got answer:
<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29059
<br>;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 13
<br>;; WARNING: recursion requested but not available
<br>
<br>;; QUESTION SECTION:
<br>;. IN A
<br>
<br>;; AUTHORITY SECTION:
<br>. 518400 IN NS <a href="http://a.root-servers.net">a.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://b.root-servers.net">b.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://c.root-servers.net">c.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://d.root-servers.net">d.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://e.root-servers.net">e.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://f.root-servers.net">f.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://g.root-servers.net">g.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://h.root-servers.net">h.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://i.root-servers.net">i.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://j.root-servers.net">j.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://k.root-servers.net">k.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://l.root-servers.net">l.root-servers.net</a>.
<br>. 518400 IN NS <a href="http://m.root-servers.net">m.root-servers.net</a>.
<br>
<br>;; ADDITIONAL SECTION:
<br><a href="http://a.root-servers.net">a.root-servers.net</a>. 3600000 IN A 198.41.0.4
<br><a href="http://a.root-servers.net">a.root-servers.net</a>. 3600000 IN AAAA 2001:503:ba3e::2:30
<br><a href="http://b.root-servers.net">b.root-servers.net</a>. 3600000 IN A 192.228.79.201
<br><a href="http://c.root-servers.net">c.root-servers.net</a>. 3600000 IN A 192.33.4.12
<br><a href="http://d.root-servers.net">d.root-servers.net</a>. 3600000 IN A 199.7.91.13
<br><a href="http://d.root-servers.net">d.root-servers.net</a>. 3600000 IN AAAA 2001:500:2d::d
<br><a href="http://e.root-servers.net">e.root-servers.net</a>. 3600000 IN A 192.203.230.10
<br><a href="http://f.root-servers.net">f.root-servers.net</a>. 3600000 IN A 192.5.5.241
<br><a href="http://f.root-servers.net">f.root-servers.net</a>. 3600000 IN AAAA 2001:500:2f::f
<br><a href="http://g.root-servers.net">g.root-servers.net</a>. 3600000 IN A 192.112.36.4
<br><a href="http://h.root-servers.net">h.root-servers.net</a>. 3600000 IN A 128.63.2.53
<br><a href="http://h.root-servers.net">h.root-servers.net</a>. 3600000 IN AAAA 2001:500:1::803f:235
<br><a href="http://i.root-servers.net">i.root-servers.net</a>. 3600000 IN A 192.36.148.17
<br>
<br>;; Query time: 24 msec
<br>;;<br>;; WHEN: Sun Jan 3 05:10:27 2016
<br>;; MSG SIZE rcvd: 484<br>
<br><br>or</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">host <a href="http://google.com">google.com</a> PUBLICIP</span><br>Using domain server:
<br>Name: PUBLICIP<br>Address: PUBLICIP#53
<br>Aliases:</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">As you see, there is no answer. I only get the root NS servers.</span></div><div><span style="font-family:monospace"><br></span><div><div class="gmail_signature"><div dir="ltr"><div>--</div><div>Luis Daniel Lucio Quiroz<br>CISSP, CISM, CISA<br>Linux, VoIP and much more fun<br><a href="http://www.okay.com.mx" target="_blank">www.okay.com.mx</a><br><br>Need LCR? Check out LCR for FusionPBX with FreeSWITCH<br>Need Billing? Check out Billing for FusionPBX with FreeSWITCH</div></div></div></div>
</div></div>