Use "lsof" to see what's listening on port 53.

By the way, the xinetd messages probably have nothing to do with your
BIND (= DNS server) problems, unless somehow you have an entry in
xinetd's config file to listen on port 53. The word "bind" applies to
both a software package ("BIND", capitalized) as well as to a common
networking-library routine (otherwise known as bind(3) or some variant
on that).

- Kevin

andrew wrote:

>Hello, it's a lot of time that i'm trying to configure and work a bind9
>server correctly on a local network(instead of to use the /etc/hosts file)
>The configuration, i'm quite sure is correct however it happens a strange
>thing..
>My dns server doesn't work..
>it doesn't resolve the host names..
>
>Here the named log:
>
>++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++
>
>
>>Oct 23 17:33:28 andrea named[7512]: starting BIND 9.2.3 -t /var/lib/named
>>-u named
>>Oct 23 17:33:28 andrea named[7512]: using 1 CPU
>>Oct 23 17:33:28 andrea named[7512]: loading configuration from
>>'/etc/named.conf'
>>Oct 23 17:33:28 andrea named[7512]: listening on IPv6 interfaces, port 53
>>Oct 23 17:33:28 andrea named[7512]: listening on IPv4 interface lo,
>>127.0.0.1#53
>>Oct 23 17:33:28 andrea named[7512]: binding TCP socket: address in use
>>----------------------------------------------------------------------
>>Oct 23 17:33:28 andrea named[7512]: listening on IPv4 interface eth0,
>>192.168.1.201#53
>>Oct 23 17:33:28 andrea named[7512]: binding TCP socket: address in use
>>Oct 23 17:33:28 andrea named[7512]: listening on IPv4 interface eth1,
>>192.168.1.243#53
>>Oct 23 17:33:28 andrea named[7512]: binding TCP socket: address in use
>>----------------------------------------------------------------------
>>Oct 23 17:33:28 andrea named[7512]: command channel listening on
>>127.0.0.1#953
>>Oct 23 17:33:28 andrea named[7512]: command channel listening on ::1#953
>>Oct 23 17:33:28 andrea named[7512]: zone in-addr.arpa/IN: loaded serial
>>2004102306
>>Oct 23 17:33:28 andrea named[7512]: zone 0.0.127.in-addr.arpa/IN: loaded
>>serial 42
>>Oct 23 17:33:28 andrea named[7512]: zone home.linux/IN: loaded serial
>>2004102316
>>Oct 23 17:33:28 andrea named[7512]: zone localhost/IN: loaded serial 42
>>Oct 23 17:33:28 andrea named[7512]: running
>>
>>and also..
>>
>>Oct 23 17:33:23 andrea xinetd[7474]: Port not specified and can't find
>>service: smtpd with getservbyname
>>Oct 23 17:33:23 andrea xinetd[7474]: bind failed (Address already in use
>>(errno = 98)). service = ftp
>>Oct 23 17:33:23 andrea xinetd[7474]: Service ftp failed to start and is
>>deactivated.
>>++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++
>>
>>

>
>
>I don't know what to do..
>Somebody told me that the problem (perhaps) could be that one between "---"
>->(Oct 23 17:33:28 andrea named[7512]:
>
>
>>binding TCP socket: address in use).
>>
>>

>it seems that the ports are used from an other service!!
>But think that the number of the port change everytime that i start bind and
>no one service interfere with this(ftp?)..
>My network is so structured:
>I have a router (with adsl modem) on the wan side and it joins the pc where
>there is the dns server(with 2 lan cards and suse 9.1) and on the lan side
>there are some pc with win-linux..
>Thanks
>bye Andrea.
>
>
>
>
>
>
>