[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverse DNS lookup slowness FYI



> I was playing around with my reverse DNS lookup info, and I was able to
> get this set-up to let me log in via ssh with the least amount of
> delay. (I hate having to wait 60 seconds (or whatever it is) for DNS to
> time out) Names have been changed to protect the innocent.  Posting
> this so the archives have it.
> 
> me@~> cat /etc/hosts
> 127.0.0.1 localhost
> 127.0.0.1 foo.domain.tla foo
> 10.0.0.1 10.0.0.1 #machine I ssh from (I like seeing my ip addy show

Why don't u put a name to the 10.0.0.1 in /etc/hosts. Not an IP ... 


> up)
> me@~> cat /etc/resolv.conf
> search domain.tla.
> nameserver 192.168.0.1
> nameserver 192.168.0.2
> lookup file bind
> me@~>
> 
> (The "lookup file bind line" IS nessacary to prevent the slowness.  It
> looks at the /etc/hosts file, then the dns servers.  It defaults to
> bind file)
> 
> =====
> Peter Hessler
> <yodadoa@yahoo.com>
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/