Re: How to resolve names
- From: Ian Northeast <ian@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 18 Mar 2007 20:36:17 +0000
On Sun, 18 Mar 2007 17:56:35 +0100, Norbert Kolvenbach wrote:
Dear experts,
this is possibly a very dumb problem/question and that may be the reason I
do not get a resolution.
i have 3 Linux pc connected to the internet via WLAN DSL router. 2 are
conencted via WLAN one is directly connected via LAN cable. The router
uses DHCP to assign dynamic IP addresses.
So I can ping and try to ssh/telnet the 2 other machines from my PC via
ip-address (no supprise).
I cannot do it by using their host names although I get proper
name/address resolution via nslookup.
As it stands this doesn't add up. If ping etc. by IP works and nslookup of
the names works (nslookup is a broken and outdated tool BTW, you should
use dig instead, but its brokenness does not extend to returning answers
when none are available) then ping etc. by name should too.
I assume that the router is acting as the DNS server, can you confirm this?
What output/errors are issued when you:
ping <name>
dig <name>
host <name>
getent hosts <name>
?
Note that dig does not append the domain name specified in
/etc/resolv.conf, you have to include it in the command, i.e. dig
<host>.<domain>.
what is in /etc/resolv.conf? What does the "hosts:" entry in
/etc/nsswitch.conf read?
Regards, Ian
.
- Follow-Ups:
- Re: How to resolve names
- From: Norbert Kolvenbach
- Re: How to resolve names
- References:
- How to resolve names
- From: Norbert Kolvenbach
- How to resolve names
- Prev by Date: Re: Path mtu discovery
- Next by Date: Re: Very slow network - Ubuntu
- Previous by thread: Re: How to resolve names
- Next by thread: Re: How to resolve names
- Index(es):
Relevant Pages
|