• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] DNS geht mit nslookup aber nicht mit ping ???

Hallo,

Ich habe auf einem alte Kiste OpenSuSe 10.0 installiert.
Netzwerkkarte war ohne Problem erkannt, DHCP client oben ohne Problem.

Alles klappt wunderbar ausser folgendes:
In das lokales Netz, ich kann "ping" auf anderen Kisten nur mit IP-Addressen machen, mit Namen geht's nicht.
- Firewall ist deaktiviert.
- /etc/resolv.conf ist normal...
- Ping auf externen Server funktionniert.

Wo ist denn da Trick?

MfG, Jacques-D.

Code:
linux03:/ # ping www.google.com
PING www.l.google.com (66.249.93.104) 56(84) bytes of data.
64 bytes from 66.249.93.104: icmp_seq=1 ttl=247 time=111 ms
64 bytes from 66.249.93.104: icmp_seq=2 ttl=247 time=224 ms

--- www.l.google.com ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2010ms
rtt min/avg/max/mdev = 111.459/168.174/224.889/56.715 ms
linux03:/ # ping m700jdp
ping: unknown host m700jdp
linux03:/ # nslookup m700jdp
Server:         192.168.0.1
Address:        192.168.0.1#53

Name:   m700jdp.local
Address: 192.168.0.100

linux03:/ # ping 192.168.0.100
PING 192.168.0.100 (192.168.0.100) 56(84) bytes of data.
64 bytes from 192.168.0.100: icmp_seq=1 ttl=128 time=2.58 ms
64 bytes from 192.168.0.100: icmp_seq=2 ttl=128 time=1.03 ms

--- 192.168.0.100 ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2012ms
rtt min/avg/max/mdev = 1.032/1.810/2.588/0.778 ms
linux03:~ # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
linux03:/ # grep -v '^#' /etc/resolv.conf
search local
nameserver 192.168.0.1
linux03:/ # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:50:04:1B:55:21
          inet addr:192.168.0.103  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:4ff:fe1b:5521/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3392 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1926 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1400830 (1.3 Mb)  TX bytes:344389 (336.3 Kb)
          Interrupt:5 Base address:0x1080
linux03:/ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         Lancom1511.loca 0.0.0.0         UG    0      0        0 eth0
 
Kann ich nicht, da diese Kisten via DHCP die IP-Addressen kriegen.

Der Lancom Router merkt die Name des Clients wenn es eine Addresse zugibt und ladet sie in DNS.

Gruss, Jacques-D.
 
Bingo!!!

Du hast recht, es ist genau das:
Am Ende von "/etc/host.conf", die Zeile "mdsn off" einfügen und Hopla, alles gut.

Danke vielmal für die rasche Hilfe :D
 
Oben