Re: DNS problems
Thomas Apel wrote:
>
>
> Hello!
>
> All connections to my machine are delayed. "telnet localhost" takes 20 secs to
> connect and another 20 secs to display the login. "telnet 127.0.0.1" connects
> immidiately, but also needs 20 secs to display a login.
>
> Seems like some dns-lookup-problem to me. But I can't see anything wrong in my
> config. It's a dialup machine running a woody install. Manual lookups with
> "host" give the following:
>
>---snip---<
> Any ideas, someone? The config files are included below.
>
> TIA,
> Thomas Apel
>
>
> -----> /etc/hosts <-----
> 127.0.0.1 localhost
> 192.168.2.15 hostname.domain.de hostname
>
> -----> /etc/host.conf <-----
> order hosts,bind
> multi on
>
> -----> /etc/resolv.conf <-----
> search domain.de
> # ISP nameserver
> nameserver xxx.xxx.xxx.xxx
>
---snip---
Try defining the local "domain" in your /etc/resolv.conf file, i.e.:
domain "domain.de" <--I included the quotes here to clarify things.
search domain.de <--Probably not needed if the above is defined
# ISP nameserver
nameserver xxx.xxx.xxx.xxx
If these are real names instead of just examples, I would suggest using
something else other than "domain.de"...to avoid any possiblility of
confusion for Linux...i.e. "test.lan". The word "domain" is a command
line word in /etc/resolv.conf. & is probably reserved for that use.
The rest of your files look OK to me. I get the same responses as you
to all the "host xxxx" commands, so I don't think these responses are
indicative of anything significant to your problem. I get immediate
responses to requests to connection to my machine, and the above
"domain" definition is the only difference I can find.
Cheers,
-Don Spoon-
Reply to: