Check out the file /etc/nsswitch.conf
Here's mine...
# /etc/nsswitch.conf
#
#
passwd: files
group: files
hosts: files dns
#hosts: files
networks: files
As you can see I have a host line that says only use the /etc/hosts file,
not dns. I have that there for when I'm working without internet access.
Make sure all the hosts you interract with have entries in /etc/hosts
On Thu, 17 Feb 2011, Larry wrote:
> I worked through this and was not able figure out how to disable it.
> However, you can set the timeout very low and reduce the attempts count to
> minimize the delay to a second or two.
>
>
> On 2/17/2011 11:02 PM, Jongsoo Kim wrote:
> >
> > How can I disable this DNS lookup?
> >
> >
> >
> >
> > On Thu, Feb 17, 2011 at 12:55 PM, naturalwatt <
> > <>> wrote:
> >
> >
> >
> > --- In <ts-7000%40yahoogroups.com>,
> > "jongsoo_k" <> wrote:
> > >
> > > If I telnet from my PC to TS7500, it took 20 - 30 seconds to get
> > login prompt. Why is it so slow? How can i improve it?
> > >
> > >
> > > I appreciate any help.
> > >
> >
> > This is a very common complaint and is nothing to do with the
> > TS7500. When you connect to the board, the telnet daemon tries to
> > find a DNS name for the incoming IP address. If you don't have DNS
> > configured, it will take that long to give up.
> >
> > So setup the /etc/resolv.conf file.
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this message.
> > Checked by AVG - www.avg.com <http://www.avg.com>
> > Version: 10.0.1204 / Virus Database: 1435/3449 - Release Date: 02/17/11
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|