Re: Bind 9.2.3 ignores listen on option

This is a discussion on Re: Bind 9.2.3 ignores listen on option within the Bind Users forums, part of the DNS and Related Forums category; > named.conf contains: > > options { > directory "/etc/named"; > listen-on { > 192.168.0....


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-30-2005
Mark Andrews
 
Posts: n/a
Default Re: Bind 9.2.3 ignores listen on option


> named.conf contains:
>
> options {
> directory "/etc/named";
> listen-on {
> 192.168.0.0/16;
> 127.0.0.1;
> };
> listen-on-v6 { none; };
> allow-query {
> 192.168.0.0/16;
> 127.0.0.1;
> };
> version "Go away!";
> };
>
> Yet the following is logged on startup:
>
> Jan 30 17:58:27 brickwall named[2870]: starting BIND 9.2.3 -u named -t /var/n
> amed/chroot
> Jan 30 17:58:27 brickwall named[2870]: using 1 CPU
> Jan 30 17:58:27 brickwall named[2870]: loading configuration from '/etc/named
> .conf'
> Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface lo, 127.0.
> 0.1#53
> Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface eth0, 192.
> 168.1.1#53
> Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface eth1, 192.
> 168.2.1#53
> Jan 30 17:58:27 brickwall named[2870]: listening on IPv4 interface eth2, 66.5
> 6.20.170#53
> Jan 30 17:58:27 brickwall named[2870]: couldn't add command channel 127.0.0.1
> #953: not found
> Jan 30 17:58:27 brickwall named[2870]: couldn't add command channel ::1#953:
> not found
> Jan 30 17:58:27 brickwall named[2870]: running
> Jan 30 12:58:27 brickwall named: named startup succeeded
>
> You will note that eth2 is used despite not contain in the listen-on option.
> What am I
> doing wrong?


Usually this is because the poster is looking at the wrong
version on named.conf. In this case you should be looking at
"/var/named/chroot/etc/named.conf" or wherever it points, if it
is a symlink, taking into account the chroot call.

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0