<p>You set a listen-on that does not include 127.0.0.1.</p>
<div class="gmail_quote">On Apr 22, 2012 11:08 PM, "David Milholen" <<a href="mailto:dmilholen@wletc.com">dmilholen@wletc.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
I am a Wisp admin and I have just configured a couple of new Bind9
servers.<br>
They will resolve using dig <a href="http://google.com" target="_blank">google.com</a> @9x.1xx.104.14 <br>
I am having some trouble getting them to answer themselves on
127.0.0.1 for example:<br>
<br>
[root@ns4 named]# dig <a href="http://google.com" target="_blank">google.com</a> @<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> +trace<br>
<br>
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5
<<>> <a href="http://google.com" target="_blank">google.com</a> @<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> +trace<br>
;; global options: printcmd<br>
;; connection timed out; no servers could be reached<br>
[root@ns4 named]# <br>
<br>
Here is an my config:<br>
//<br>
// named.conf for Red Hat caching-nameserver<br>
//<br>
controls {<br>
inet 127.0.0.1 allow { localhost; } keys { rndckey; rndc-key; };<br>
};<br>
<br>
options {<br>
directory "/var/named";<br>
dump-file "/var/named/data/cache_dump.db";<br>
statistics-file "/var/named/data/named_stats.txt";<br>
/*<br>
* If there is a firewall between you and nameservers you
want<br>
* to talk to, you might need to uncomment the query-source<br>
* directive below. Previous versions of BIND always asked<br>
* questions using port 53, but BIND 8.1 uses an
unprivileged<br>
* port by default.<br>
*/<br>
// query-source address * port 53;<br>
version "Surely you must be joking";<br>
notify yes;<br>
allow-recursion {<br>
127.0.0.1;<br>
9x.1xx.104.0/22;<br>
9x.1xx.108.0/23;<br>
};<br>
allow-transfer { 9x.1xx.104.22;<br>
};<br>
listen-on {<br>
9x.1xx.104.14;<br>
};<br>
};<br>
//<br>
logging {<br>
channel my_syslog {<br>
syslog kern;<br>
severity debug;<br>
};<br>
channel my_file {<br>
file "/var/named/chroot/var/named/log.msgs";<br>
severity dynamic;<br>
print-category yes;<br>
};<br>
category unmatched {<br>
null;<br>
};<br>
category queries {<br>
my_file;<br>
};<br>
category lame-servers {<br>
null;<br>
};<br>
category general {<br>
default_syslog;<br>
};<br>
};<br>
<br>
<br>
// a caching only nameserver config<br>
//<br>
<br>
zone "." IN {<br>
type hint;<br>
file "root.servers";<br>
};<br>
<br>
<br>
<br>
zone "104.1xx.9x.in-addr.arpa" {<br>
type master;<br>
file "/var/named/9x.1xx.104.rev";<br>
allow-transfer {<br>
9x.1xx.104.22;<br>
};<br>
};<br>
zone "0.0.127.in-addr.arpa" {<br>
type master;<br>
file "/var/named/127.0.0.rev";<br>
};<br>
zone "localdomain" {<br>
type master;<br>
file "/var/named/localdomain.hosts";<br>
};<br>
zone "localhost" {<br>
type master;<br>
file "/var/named/localhost.hosts";<br>
};<br>
key rndc-key {<br>
algorithm hmac-md5;<br>
secret "wh6DFiuNGJHzHwvNTy8JEA==";<br>
};<br>
<br>
Here is my resolv.conf :<br>
nameserver 127.0.0.1<br>
nameserver 9x.1xx.104.14<br>
<br>
Not sure what I broke but it seems to work on some of my older
servers.<br>
Thanks for any help.<br>
<br>
<div>-- <br>
<img><br>
David Milholen<br>
Project Engineer<br>
P:<a href="tel:501-318-1300" value="+15013181300" target="_blank">501-318-1300</a><br>
</div>
</div>
<br>_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br></blockquote></div>