name resolution problem

$ ping dc1
ping: unknown host dc1
$ nslookup dc1
Server: 192.168.1.10
Address: 192.168.1.10#53

Name: dc1.firma.local
Address: 192.168.1.1

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=128 time=3.89 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=128 time=0.451 ms
$ cat /etc/resolv.conf
nameserver 192.168.1.10
nameserver 192.168.1.1
search firma.local

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Odd… perhaps post what you have in /etc/nsswitch.conf ? Otherwise,
I’m not sure off the top of my head. What does pinging by DNS name work
(vs. just host name)? Also, I assume you’re NOT pinging from either DNS
server.

Good luck.

nasonov wrote:
> $ ping dc1
> ping: unknown host dc1
> $ nslookup dc1
> Server: 192.168.1.10
> Address: 192.168.1.10#53
>
> Name: dc1.firma.local
> Address: 192.168.1.1
>
> $ ping 192.168.1.1
> PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> 64 bytes from 192.168.1.1: icmp_seq=1 ttl=128 time=3.89 ms
> 64 bytes from 192.168.1.1: icmp_seq=2 ttl=128 time=0.451 ms
> $ cat /etc/resolv.conf
> nameserver 192.168.1.10
> nameserver 192.168.1.1
> search firma.local
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIrbiA3s42bA80+9kRAjz3AJ9gi4Z4i/879hGgjqBDtViIjANZjwCeLfjE
ZsPJRFEOU5//P37v7NBLEJI=
=xbX4
-----END PGP SIGNATURE-----

nasonov wrote:
> $ ping dc1
> ping: unknown host dc1
> $ nslookup dc1
> Server: 192.168.1.10
> Address: 192.168.1.10#53
>
> Name: dc1.firma.local
> Address: 192.168.1.1
>
> $ ping 192.168.1.1
> PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> 64 bytes from 192.168.1.1: icmp_seq=1 ttl=128 time=3.89 ms
> 64 bytes from 192.168.1.1: icmp_seq=2 ttl=128 time=0.451 ms
> $ cat /etc/resolv.conf
> nameserver 192.168.1.10
> nameserver 192.168.1.1
> search firma.local
>
>

vi /etc/host.conf

add

mdns off

That should do it…

cjcox
it works. thank you.

nasonov schrieb:
> $ ping dc1
> ping: unknown host dc1
> $ nslookup dc1
> Server: 192.168.1.10
> Address: 192.168.1.10#53
>
> Name: dc1.firma.local

Bad choice. The .local TLD is handled specially by many systems,
including SUSE.

If cjcox' solution works for you, fine. But I'd still recommend
staying away from .local domain names.

HTH
T.

--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

What is the story on multicast DNS and the .LOCAL TLD anyway?