bin/62139: User cannot login through telnet or ssh because of
reverse resolving delay
rosti_bsd at yahoo.com
Fri Jan 30 19:00:39 PST 2004
>Synopsis: User cannot login through telnet or ssh because of reverse resolving delay
>Arrival-Date: Fri Jan 30 19:00:37 PST 2004
>Originator: Rostislav Krasny
>Release: 5.2-RELEASE and 5.2-CURRENT
FreeBSD localhost 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jan 29 13:03:29 IST 2004 root at localhost:/usr/obj/usr/src/sys/GENERIC i386
When a user tries to login to the system remoutly (by telnet or ssh) the system is trying to reverse resolve its IP address. Because the system does this resolving synchronously the login process delays. When recorded in the /etc/resolv.conf address of single DNS server is unreachable the delay will be very long and it will produce login timeout. It can made this system inaccessible for remote administration through telnet and ssh.
To reproduce this problem write non-existent IP address of your subnet as the address of single DNS server in /etc/resolv.conf file. Then try to login to this system remoutly from somewhere. There should be no previously openned connections from the second system.
To fix this problem you can either disable the reverse resolving or do it asynchronously.
More information about the freebsd-bugs