[Tech] Red Hat 8.0 e DNS

Marco Marcantelli kaifa_mm@tin.it
Gio 20 Nov 2003 19:55:42 CET


Ciao,

non riesco a levare le gambe da un problema bastardo ovvero :

ho due pc con RH 8.0 identici server.marco e client.marco con un bel router
isdn messo come default gateway se faccio ping, traceroute, tracepath tra
i due pc tutto bene, se faccio ssh o telnet a server.marco o client.marco
va a cercare il dns (ovvero il router). Mentre se faccio ssh o telnet con
l'IP fa tutto in  locale.

Quindi e' un problema di risoluzione dei nomi ma non riesco a vedere il
problema.......... mi aiutate ??  Grazie...........

                                                                       
 Saluti

Vi allego i files di configurazione : 

#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#	nisplus or nis+		Use NIS+ (NIS version 3)
#	nis or yp		Use NIS (NIS version 2), also called YP
#	dns			Use DNS (Domain Name Service)
#	files			Use the local files
#	db			Use the local database (.db) files
#	compat			Use NIS on compat mode
#	hesiod			Use Hesiod for user lookups
#	[NOTFOUND=return]	Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files nisplus
shadow:     files nisplus
group:      files nisplus

#hosts:     db files nisplus nis dns
hosts:      files nisplus dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files nisplus
rpc:        files
services:   files nisplus

netgroup:   files nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus

---------------------------------------------------------------------

/etc/host.conf

order hosts,bind

---------------------------------------------------------------------

/etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
#
127.0.0.1	localhost.localdomain	localhost
192.168.32.192	server.marco   	server
192.168.32.193	client.marco        	client


---------------------------------------------------------------------

/etc/resolv.conf

nameserver 212.216.172.162
nameserver 212.216.112.222
domain marco





Maggiori informazioni sulla lista flug-tech