Problem with "listen-on"

Kevin Darcy kcd at chrysler.com
Thu Jul 24 01:17:10 UTC 2008


Michelle Konzack wrote:
> Hello,
> I am using Debian GNU/Linux Etch with bind 9.3.4 and  had  the  need  to
> install the server on an other machine for a  migration  issue.  Because
> bind9 refused to work on it, I installed it on a P2 and it was working.
>
> Now I try to resolv the problem WHY this pig want  work  and  the  issue
> seems to be:
>
> ----[ '/etc/bind/named.conf.options' ]----------------------------------
> options {
>         directory "/var/cache/bind";
>
>         // forwarders {
>         //      0.0.0.0;
>         // };
>
>         auth-nxdomain no;    # conform to RFC1035
>
>         listen-on-v6 { any; };
>         listen-on { 192.168.0.74; };
> };
> ------------------------------------------------------------------------
>
> While the server on which it is running on is 192.168.0.69.
>
> If I restart bind9 there are not a  singel  error  and  it  show  up  in
> 'pstree -pan'.  On my Laptop I have:
>
> ----[ '/etc/resolv.conf' ]----------------------------------------------
> nameserver 192.168.0.74
> nameserver 192.168.0.69
> ------------------------------------------------------------------------
>
> I get always:
>
> ----[ command 'host -a samba3.private.tamay-dogan.net' ]----------------
> Trying "samba3.private.tamay-dogan.net"
> ;; connection timed out; no servers could be reached
> ------------------------------------------------------------------------
>
> Changeing listen-on to 192.168.0.69 give:
>
> ----[ command 'host -a samba3.private.tamay-dogan.net' ]----------------
> Trying "samba3.private.tamay-dogan.net"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25334
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
>
> ;; QUESTION SECTION:
> ;samba3.private.tamay-dogan.net.        IN      ANY
>
> ;; ANSWER SECTION:
> samba3.private.tamay-dogan.net. 38400 IN A      192.168.0.69
>
> ;; AUTHORITY SECTION:
> private.tamay-dogan.net. 38400  IN      NS      dns1.tamay-dogan.net.
> private.tamay-dogan.net. 38400  IN      NS      dns2.tamay-dogan.net.
> private.tamay-dogan.net. 38400  IN      NS      dns.private.tamay-dogan.net.
>
> ;; ADDITIONAL SECTION:
> dns.private.tamay-dogan.net. 38400 IN   A       192.168.0.74
> dns1.tamay-dogan.net.   38400   IN      A       192.168.0.194
> dns2.tamay-dogan.net.   38400   IN      A       192.168.0.195
>
> Received 168 bytes from 192.168.0.69#53 in 16 ms
> ------------------------------------------------------------------------
>
> So the question is, WHATS going on here?
>
> Thanks, Greetings and nice Day/Evening
>     Michelle Konzack
>     Systemadministrator
>     24V Electronic Engineer
>     Tamay Dogan Network
>     Debian GNU/Linux Consultan
>   
You say "the server on which it is running on is 192.168.0.69" and when 
the listen-on is set to 192.168.0.69 it responds to queries.

What's the problem here?

And what is 192.168.0.74? You haven't explained that. Is it even defined 
on the nameserver box? Some sort of virtual interface perhaps?

                                                                         
                        - Kevin



More information about the bind-users mailing list