Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2001 23:21:30 -0700
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Doug Wilson" <want_2_learn_freebsd@hotmail.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Solution: Need snappy telnet service (revisited)
Message-ID:  <001e01c0d6bd$f49f0880$1401a8c0@tedm.placo.com>
In-Reply-To: <DAV61wXCPa8lMES1NQu00003fb5@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey Doug,

  I'm glad it works, but I have to break it to you:  the reason
it's working now is that you just disabled DNS lookups on the
server by doing that.

  The "nameserver" keyword is what tells the FreeBSD server what
the IP number of the DNS server is.  You commented it out, and
the "ns1.apc.net" is basically being ignored because it's not
a keyword in the resolver routine.

  If you change your /etc/resolv.conf file to

domain    apc.net

  with nothing else in it then you will get the exact same behavior.
(snappy telnetd)

  Now, it may be that it's not important to run DNS on this server.
Certainly, if your not handling e-mail on it then you may be able to
get away with this and just put well-known hosts in /etc/hosts.  Even if
you are running mail, if you forward all mail to another mailserver then
you will be fine.

  To see what I mean, telnet into the server and issue the command
"ping ftp.uu.net" and most likely you will get a host not found.

  Anyway, like I said earlier, disabling DNS is a way to fix it.  In your
case it may be the best solution.

Ted Mittelstaedt                      tedm@toybox.placo.com
Author of:          The FreeBSD Corporate Networker's Guide
Book website:         http://www.freebsd-corp-net-guide.com


>-----Original Message-----
>From: owner-freebsd-questions@FreeBSD.ORG
>[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Doug Wilson
>Sent: Sunday, May 06, 2001 4:04 PM
>To: freebsd-questions@FreeBSD.ORG
>Subject: Solution: Need snappy telnet service (revisited)
>
>
>Hey list.
>
>I found the solution, and Ted pointed me in the right direction.
>
>/etc/resolv.conf had the following in it:
>
>domain    apc.net
>nameserver    209.223.136.10
>
>And that was it.  Now, I just guessed that this is not correct (must be how
>the sysinstall makes it), and since we have two dns servers on our
>network I
>made it the following:
>
>domain    apc.net
>#nameserver    209.223.136.10
>ns1.apc.net    209.223.136.10
>ns2.apc.net    209.223.136.11
>
>Then I rebooted, and everything works now: service with a smile.  Thanks.
>
>Doug.
>
>----- Original Message -----
>From: "Doug Wilson" <want_2_learn_freebsd@hotmail.com>
>To: <freebsd-questions@FreeBSD.ORG>
>Sent: Sunday, May 06, 2001 1:56 PM
>Subject: Need snappy telnet service (revisited)
>
>
>> Hi list,
>>
>> I am now ready to work out my sssslllllooooowwwwwwww ftp, mail, telnet
>> login.  It takes about 90 seconds--very annoying.
>>
>> The 1st time I brought it up, the list suggested that this is caused by
>> reverse dns.  I would like to turn off this feature cuz it makes this
>server
>> useless.
>>
>> The server is in dns, but the machines that connect to it are not--nor
>will
>> they ever be--they are dhcp assigned ips.
>>
>> I need to turn off this reverse dns crap globally, but maybe I
>have to set
>> that manually for each service--I'm not sure.
>>
>> Thanks for any help in this matter.
>>
>> Doug.
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01c0d6bd$f49f0880$1401a8c0>