[ale] Connection From 192.168.1.x Requires Host Name

Chris Ricker kaboom at gatech.edu
Mon Jan 20 00:08:25 EST 2003


On Sun, 19 Jan 2003, Mike Millson wrote:

> Given:
> Linux server: 192.168.1.1
> Windbloze machine: 192.168.1.10
> 
> When I try to ssh or send mail to my Linux server from my windbloze machine,
> it takes about a minute to connect unless I add an entry for 192.168.1.10 to
> the Linux server hosts file. With the hosts name entry, the connection
> happens right away.
> 
> Evidently ssh and sendmail do a reverse DNS lookup or something that causes
> a big delay if there is no entry in the hosts file? Can someone explain what
> is happening and why this is so?

That's exactly what they're doing. They do a reverse lookup and wait for it 
to timeout, so you get a delay. You add them, they do a reverse lookup and 
immediately get an answer.

> Also, if the Windbloze address is assigned via DHCP, do I have to put a host
> name for every possible IP address in the assignment block I'm using? This
> seems too hard. Any suggestions?

Two possible solutions:

* give the windows machine a static DHCP lease (so it gets the same IP 
address from DHCP every time)
* set up DNS and put in records for all the IP addresses

later,
chris
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list