ich habe ein seltsames Verhalten meines auf Debian basierenden VMWare-Servers in Bezug auf die Namensauflösung. Möglich, dass das Problem hier schon diskutiert wurde, aber dann habe ich es trotz Suche nicht gefunden. Folgendes Problem:
Wenn ich von meinem Debian-Server einen beliebigen anderen Host im lokalen Netz anpinge, bekomme ich zwar Antwort von der richtigen IP aber der Name wird immer als localhost aufgelöst. Hier ein paar Beispiele:
Ping auf das lokale NAS:
Code: Alles auswählen
herkules:~# ping wonnas
PING wonnas.wonhq.local (10.26.7.66) 56(84) bytes of data.
64 bytes from localhost (10.26.7.66): icmp_seq=1 ttl=64 time=0.515 ms
64 bytes from localhost (10.26.7.66): icmp_seq=2 ttl=64 time=0.415 ms
Code: Alles auswählen
herkules:~# ping mobil-i6k
PING mobil-i6k.wonhq.local (10.26.7.34) 56(84) bytes of data.
64 bytes from localhost (10.26.7.34): icmp_seq=1 ttl=128 time=5.22 ms
64 bytes from localhost (10.26.7.34): icmp_seq=2 ttl=128 time=1.55 ms
Code: Alles auswählen
herkules:~# ping google.de
PING google.de (66.249.93.104) 56(84) bytes of data.
64 bytes from ug-in-f104.google.com (66.249.93.104): icmp_seq=1 ttl=245 time=20.5 ms
64 bytes from ug-in-f104.google.com (66.249.93.104): icmp_seq=2 ttl=245 time=20.5 ms
Code: Alles auswählen
herkules:~# cat /etc/resolv.conf
# generated by NetworkManager, do not edit!
# nameserver 213.203.202.70
order bind,hosts
multi on
nameserver 10.26.7.1
nameserver 10.9.4.100
search wonhq.local
Die /etc/network:
Code: Alles auswählen
herkules:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 10.26.7.101
netmask 255.255.255.0
network 10.26.7.0
broadcast 10.26.7.255
gateway 10.26.7.100
auto eth1
iface eth1 inet static
address 10.9.4.101
netmask 255.255.255.0
network 10.9.4.0
broadcast 10.9.4.255
gateway 10.9.4.100
Wenn ich von einem anderen Clienten aus ein Ping auf einen anderen lokalen Host durführe, wird dieser richtig aufgelöst.
Hat jemand eine Idee? Ich bin für jeden Hinweis dankbar!