[Gllug] named

Kim Hawtin kim at aldigital.co.uk
Wed Jan 23 18:12:24 UTC 2002


On Wed, Jan 23, 2002 at 06:04:42PM +0000, will wrote:
> I am trying to get a cacheing nameserver working on my PC but seem to 
> have some problems.  I had to run it using
> 
> #sudo -u named named
> 
> and I get the following in the /var/log/messages:
> 
> Jan 23 17:54:47 localhost named[14702]: loading configuration from 
> '/etc/named.conf'
> Jan 23 17:54:47 localhost named[14702]: the default for the 
> 'auth-nxdomain' option is now 'no'
> Jan 23 17:54:47 localhost named[14702]: no IPv6 interfaces found
> Jan 23 17:54:47 localhost named[14702]: listening on IPv4 interface lo, 
> 127.0.0.1#53
> Jan 23 17:54:47 localhost named[14702]: could not listen on UDP socket: 
> permission denied
> Jan 23 17:54:47 localhost named[14702]: creating IPv4 interface lo 
> failed; interface ignored
> Jan 23 17:54:47 localhost named[14702]: listening on IPv4 interface 
> eth0, 172.16.3.24#53
> Jan 23 17:54:47 localhost named[14702]: could not listen on UDP socket: 
> permission denied
> Jan 23 17:54:47 localhost named[14702]: creating IPv4 interface eth0 
> failed; interface ignored
> Jan 23 17:54:47 localhost named[14702]: not listening on any interfaces
> Jan 23 17:54:47 localhost named[14702]: couldn't add command channel 
> 127.0.0.1#953: permission denied
> 
> And although named is running, it doesn't seem to be listening on any 
> ports when nmapping localhost:
> 
> $nmap localhost

should it not be running as root?

which is why your getting;

> Jan 23 17:54:47 localhost named[14702]: could not listen on UDP
> socket:
> permission denied

it should probably be running as an init/rcX service ...

and use to get a list of open sockets;

 netstat -an

yours,

kim
-- 
:Kim_Hawtin:--------------------------------------:-----------------:
| A.L. Digital Ltd.   Tel: +44 (20) 8742 0755     |   .^. Don't fear|
| The Stores          Fax: +44 (20) 8742 5995     |   /V\   the     |
| 2 Bath Road         http://www.thebunker.net    |  // \\ penguins!| 
| London W4 1LT       http://www.aldigital.co.uk  | /(   )\         |
| UNITED KINGDOM      mailto:kim at aldigital.co.uk  |  ^^ ^^          |


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list