LINUX.ORG.RU
решено ФорумAdmin

Не пингуется по имени


0

1

Здравствуйте, по-моему немного странно выглядит:

ilya@ilyazik:~$ nslookup globin.yspb.local
Server:      192.168.5.2
Address:   192.168.5.2#53

Name:   globin.yspb.local
Address: 192.168.5.40

ilya@ilyazik:~$ ping 192.168.5.40
PING 192.168.5.40 (192.168.5.40) 56(84) bytes of data.
64 bytes from 192.168.5.40: icmp_seq=1 ttl=128 time=3.31 ms
64 bytes from 192.168.5.40: icmp_seq=2 ttl=128 time=0.165 ms
^C
--- 192.168.5.40 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.165/1.738/3.311/1.573 ms
ilya@ilyazik:~$ ping globin.yspb.local
ping: unknown host globin.yspb.local

Ответ на: комментарий от nnz

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

passwd: compat
group: compat
shadow: compat

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files

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

netgroup: nis

Crespo ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.