9.4.2-P2 and listen-on directive

Anatoly Pugachev mator at team.co.ru
Mon Aug 11 11:03:28 UTC 2008


On 08.08.2008 / 10:02:42 +1000, Mark Andrews wrote:
> 
> > On Thu, 7 Aug 2008, Anatoly Pugachev wrote:
> > 
> > > Tried to use 9.4.2-P2 release, and have following in named.conf ->
> > > 
> > >    listen-on { 192.168.1.1; 127.0.0.1; };
> > > 
> > > but if i check "netstat -an" command, i see that also other IP addresses
> > > from local machine is listening on 53 port, can you please help?
> > 
> > Please show us. Also look at lsof, sockstat, fstat, pfiles and/or other 
> > tool(s) to show more detail related to port 53.
> > 
> > Maybe you are seeing current connections and not listening. Maybe you saw 
> > UDP versus TCP and thought were different IPs.
> > 
> > Maybe you are seeing listening on IPv6. (But probably not since that is 
> > disabled by default.)
> > 
> > Did you tell named to use changed configuration?
> > 
> 	You you have a query-source directive in named.conf?

ok, found error in my named.conf file:

if i use 

  listen-on { 192.168.1.1; 127.0.0.1; };

everything works as expected, and if only i use:

  listen-on { 192.168.1.1; localhost; };

named will start listening all available interfaces. Is this expected
behaviour?

-- 
Anatoly Pugachev



More information about the bind-users mailing list