[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problemi di risoluzione nomi



NN_il_Confusionario ha scritto:
On Sat, Jan 20, 2007 at 08:41:42PM +0100, angelo wrote:
Ho sniffato il traffico sul router, quando la risoluzione fallisce non arrivano neanche le richieste via rete al DNS, che mistero....

guarda sulla macchina stessa (strace sul programma, tipo lynx o wget?
iptraf? tcpdump? o molto altro) se i pacchetti per la risoluzione dei
nomi vengono generati e  qualcosa (iptables, altro?) blocca l'uscita dei
pacchetti della risoluzione dei nomi

Guarda se manca la chiamata al dns nella conf delle libc per la
risoluzione dei nomi. I defaults di sarge:

$  cat /etc/host.conf
order hosts,bind
multi on

$  cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

Bingo NN !,
nel mio /etc/nsswitch.conf c'era questa riga:

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

l'ho modificata come mi hai suggerito e tutto è andato a posto
Chissà come era successo: proverò ad indagare.
Grazie 1000.
Angelo



Reply to: