Newsgroup: it.comp.os.linux.iniziare
Titolo: dns help!!

Ciao a tutti è ormai un pò di tempo che cerco di configurare e far
funzionare correttamente un server dns (bind9) su una rete locale(da
sostituire al classico file /etc/hosts)
La configurazione sono quasi sicuro di averla fatta correttamente..
tuttavia mi accade una cosa piuttosto strana..
Il server  nn risolve i nomi: mi spiego, è come se nn ci fosse proprio il
server..
Dai log di named:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
E ancora:
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.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Personalmente nn so cosa pensare..
Tuttavia mi è stato suggerito che l'errore possa essere nelle righe
racchiuse da tratteggi "----" ->(Oct 23 17:33:28 andrea named[7512]:
binding TCP socket: address in use)
allora sembra che le porte vengano già usate da qualche altro servizio..
ma considerando che la porta cambia sempre e che nessun altro servizio a me
sembra stia interferendo..beh, nn so che pensare.
Potrebbe dipendere dalla presenza di un router gateway in cui sia attivo
qualche servizio particolare?Infatti la mia rete è strutturata da
router(con modem adsl)sul lato wan a cui si collega la macchina che deve
fare da server dns(con 2 schede di rete e linux suse 9.1) e all'interno sul
lato lan altre macchine win-linux.
Grazie ciao 
Andrea

andrew wrote:

Mi suggeriscono di vedere se ci sono servizi in ascolto..ecco i risultati:
andrea:/ # netstat -nap | grep LISTEN
tcp        0      0 
0.0.0.0:2401
            0.0.0.0:*              
LISTEN7474/xinetd
tcp        0      0 
0.0.0.0:1032
            0.0.0.0:*              
LISTEN7326/artsd
tcp        0      0 
0.0.0.0:139
             0.0.0.0:*              
LISTEN6359/smbd
tcp        0      0 
0.0.0.0:110
             0.0.0.0:*              
LISTEN7474/xinetd
tcp        0      0 
0.0.0.0:111
             0.0.0.0:*              
LISTEN3772/portmap
tcp        0      0 
0.0.0.0:4081
            0.0.0.0:*              
LISTEN7317/kdeinit: kded
tcp        0      0 
0.0.0.0:21
              0.0.0.0:*              
LISTEN4657/pure-ftpd (SER
tcp        0      0 
0.0.0.0:23
              0.0.0.0:*              
LISTEN7474/xinetd
tcp        0      0 
0.0.0.0:631
             0.0.0.0:*              
LISTEN6243/cupsd
tcp        0      0 
127.0.0.1:953
           0.0.0.0:*              
LISTEN7512/named
tcp        0      0 
0.0.0.0:25
              0.0.0.0:*              
LISTEN6523/master
tcp        0      0 
127.0.0.1:37435
         0.0.0.0:*              
LISTEN7317/kdeinit: kded
tcp        0      0 
0.0.0.0:445
             0.0.0.0:*              
LISTEN6359/smbd
tcp        0      0 :::80                   :::*                   
LISTEN6630/httpd2-prefork
tcp        0      0 :::53                   :::*                   
LISTEN7512/named
tcp        0      0 :::21                   :::*                   
LISTEN4657/pure-ftpd (SER
tcp        0      0 :::22                   :::*                   
LISTEN4496/sshd
tcp        0      0 ::1:953                 :::*                   
LISTEN7512/named
tcp        0      0 :::25                   :::*                   
LISTEN6523/master
unix  2      [ ACC ]     STREAM     LISTENING     13256 
7372/kdesud         /tmp/ksocket-andrea/kdesud_:0
unix  2      [ ACC ]     STREAM     LISTENING     13429  7398/kdeinit:
Runni /tmp/ksocket-root/kdeinit__0
unix  2      [ ACC ]     STREAM     LISTENING     13431  7398/kdeinit:
Runni /tmp/ksocket-root/kdeinit-:0
unix  2      [ ACC ]     STREAM     LISTENING     13437  7401/kdeinit:
dcops /tmp/.ICE-unix/dcop7401-1098545553
unix  2      [ ACC ]     STREAM     LISTENING     13461  7403/kdeinit:
klaun /tmp/ksocket-root/klauncherA3Gtha.slave-socket
unix  2      [ ACC ]     STREAM     LISTENING     10422 
6363/kdm            /var/run/xdmctl/dmctl/socket
unix  2      [ ACC ]     STREAM     LISTENING     10447 
6384/X              /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     10452 
6363/kdm            /var/run/xdmctl/dmctl-:0/socket
unix  2      [ ACC ]     STREAM     LISTENING     9018  
5158/powersaved     /var/run/powersave_socket
unix  2      [ ACC ]     STREAM     LISTENING     6110  
3773/resmgrd        /var/run/.resmgr_socket
unix  2      [ ACC ]     STREAM     LISTENING     10660  6523/master        
public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     10667  6523/master        
private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     10671  6523/master        
private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     10675  6523/master        
private/defer
unix  2      [ ACC ]     STREAM     LISTENING     10679  6523/master        
private/trace
unix  2      [ ACC ]     STREAM     LISTENING     10683  6523/master        
private/verify
unix  2      [ ACC ]     STREAM     LISTENING     10237 
6293/nscd           /var/run/.nscd_socket
unix  2      [ ACC ]     STREAM     LISTENING     12519  7314/kdeinit:
klaun /tmp/ksocket-andrea/klauncherheC9Ia.slave-socket
unix  2      [ ACC ]     STREAM     LISTENING     10687  6523/master        
public/flush
unix  2      [ ACC ]     STREAM     LISTENING     10691  6523/master        
private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     10695  6523/master        
private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     12498  7312/kdeinit:
dcops /tmp/.ICE-unix/dcop7312-1098545528
unix  2      [ ACC ]     STREAM     LISTENING     10699  6523/master        
private/relay
unix  2      [ ACC ]     STREAM     LISTENING     10703  6523/master        
public/showq
unix  2      [ ACC ]     STREAM     LISTENING     10707  6523/master        
private/error
unix  2      [ ACC ]     STREAM     LISTENING     10711  6523/master        
private/local
unix  2      [ ACC ]     STREAM     LISTENING     10715  6523/master        
private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     10719  6523/master        
private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     10723  6523/master        
private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     10727  6523/master        
private/maildrop
unix  2      [ ACC ]     STREAM     LISTENING     10731  6523/master        
private/cyrus
unix  2      [ ACC ]     STREAM     LISTENING     12615 
7326/artsd          /tmp/mcop-andrea/andrea_home_linux-1c9e-417a797e
unix  2      [ ACC ]     STREAM     LISTENING     10735  6523/master        
private/uucp
unix  2      [ ACC ]     STREAM     LISTENING     10739  6523/master        
private/ifmail
unix  2      [ ACC ]     STREAM     LISTENING     10743  6523/master        
private/bsmtp
unix  2      [ ACC ]     STREAM     LISTENING     10747  6523/master        
private/vscan
unix  2      [ ACC ]     STREAM     LISTENING     10751  6523/master        
private/procmail
unix  2      [ ACC ]     STREAM     LISTENING     12451 
7283/gpg-agent      /tmp/gpg-nksI8n/S.gpg-agent
unix  2      [ ACC ]     STREAM     LISTENING     12455 
7284/ssh-agent      /tmp/ssh-sjrlPA7246/agent.7246
unix  2      [ ACC ]     STREAM     LISTENING     12484  7309/kdeinit:
Runni /tmp/ksocket-andrea/kdeinit__0
unix  2      [ ACC ]     STREAM     LISTENING     12715  7331/kdeinit:
ksmse /tmp/.ICE-unix/7331
unix  2      [ ACC ]     STREAM     LISTENING     12486  7309/kdeinit:
Runni /tmp/ksocket-andrea/kdeinit-:0

 tcp  0 0 :::53  :::*     LISTEN7512/named
Here you are. Hai named gia' in funzione.
Davide
-- 
Gates' Law: Every 18 months, the speed of software halves. 
   -- From a Slashdot.org post

 
Ok ma questo cosa vuol dire(named nn è il gestore solo del servizio di
bind?).Come posso risolvere?Ti prego si + chiaro!!
Grazie
Andrea