DNS
Title: Messaggio
Riprendendo il
problema postato prima.
Allora... nel
resolv.conf ci sono le due righe con nameserver indirizzo_macchina_dns e search
localdomain, e nel nsswitch.conf c'è la riga hosts:
files dns nis.
Allora ponendo che
nome_macchina_remota=26.2.241.168 assegnata alla partenza dal DNS
e
altra_macchina_remota=26.2.102.52 statico, ho
se faccio:
ping
nome_macchina_remota
ottengo: ping:
unknown host nome_macchina_remota
se faccio: ping
altra_macchina_remota.nomedominio
ottengo
correttamente: 64 bytes from 26.2.102.52: icmp_seq=0 ttl=253 time=0.5 ms
etc
se faccio: ping
nome_macchina_remota.nomedominio
PING
nome_macchina_remota.nomedominio (26.2.241.168): 56 data
bytes
e rimane fermo così.
badate che
non c'è nell'hosts.
se faccio host
nome_macchina_remota
ottengo: host
nome_macchina_remotanot found: 2(SERVFAIL)
se faccio host
nome_macchina_remota.nomedominio
ottengo:
nome_macchina_remota.nomedominio has address 26.2.241.168
Insomma non ci sto
capendo nulla!!!
Reply to:
- Follow-Ups:
- Re: DNS
- From: Gian Piero Carrubba <gpcarrubba@fare-impresa.org>