bind: how to *not bind* to interfaces?

2000-01-09 Thread hypnos
I have Bind running on my one of my machines here,
and when it starts, it binds to port 53 of each
interface (lo, eth0, ppp0).  How can I change this
so that the interface it listens on is eth0?

lemnos:/var/named/pz# named -v
named 8.2.2-P5-NOESW Fri Nov 19 12:28:17 CST 1999
[EMAIL PROTECTED]:/debian/home/bdale/slink/bind-8.2.2p5/src/bin/named

lemnos:/var/named/pz# netstat -nta
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 209.43.67.86:53 0.0.0.0:*   LISTEN
tcp0  0 192.168.1.1:53  0.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:530.0.0.0:*   LISTEN

Thanks

--
hypnos  mailto:[EMAIL PROTECTED]



Re: bind: how to *not bind* to interfaces?

2000-01-09 Thread Joseph Heenan
In message [EMAIL PROTECTED]
  hypnos [EMAIL PROTECTED] wrote:

 I have Bind running on my one of my machines here,
 and when it starts, it binds to port 53 of each
 interface (lo, eth0, ppp0).  How can I change this
 so that the interface it listens on is eth0?
 
 lemnos:/var/named/pz# named -v
 named 8.2.2-P5-NOESW Fri Nov 19 12:28:17 CST 1999
 [EMAIL PROTECTED]:/debian/home/bdale/slink/bind-8.2.2p5/src/bin/named
 
 lemnos:/var/named/pz# netstat -nta
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q Local Address   Foreign Address State
 tcp0  0 209.43.67.86:53 0.0.0.0:*   LISTEN
 tcp0  0 192.168.1.1:53  0.0.0.0:*   LISTEN
 tcp0  0 127.0.0.1:530.0.0.0:*   LISTEN

Use the listen-on directive in the options section of
/etc/bind/named.conf. eg:

listen-on { 127.0.0.1; 192.168.1.1; };


(You can find that out by doing man named.conf and searching for
'interface', btw.)

bfn,

Joseph

-- 
Joseph Heenan, Coventry, UK  http://www.ping.demon.co.uk/