Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 10:36:19 -0800 (PST)
From:      Mikko Tyolajarvi <mikko@dynas.se>
To:        tdv94ped@cs.umu.se
Cc:        questions@freebsd.org
Subject:   Re: Reverse DNS timeouts before connection?
Message-ID:  <200203091836.g29IaJQ96457@mikko.rsa.com>
References:  <20020304105431.A36025@freeze.org> <3C8950BA.39FD1D78@cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.questions you write:

>Seems to be a common question here, those reverse DNS lookup
>problems, and it has now happen to me too, so therefore I'm
>hoping someone can help me out. All, I hope, info needed are
>below:

>I'm running FreeBSD 4.5 as a firewall, with pppoe (netgraph),
>ipfw and natd. I have DynDNS which is everlund.homeip.net
>with wildcard.

>ed0 => tun0 => out to the internet.
>ed1 = 192.168.0.1 and 192.168.0.2 => to my internal network.
>Windows 2k, on my internal network, have IP 192.168.0.4.

>/etc/rc.conf

[... snip ...]

>/etc/hosts
>   127.0.0.1       localhost.everlund.homeip.net   localhost
>   192.168.0.1     fw.everlund.homeip.net          fw server
>   192.168.0.2     fw.everlund.homeip.net          fw server

>/etc/resolv.conf
>   domain          everlund.homeip.net
>   nameserver      10.0.0.1
>   nameserver      10.0.0.2

[...]

>When doing a 'telnet 192.168.0.1' from Windows I get following
>doing 'ps -U root | grep inetd' in FreeBSD:
>   241  ??  S      0:00.05 inetd: wrapping [192.168.0.4] (inetd)

>Then it takes about a minute before I can login. From the out-

[...]

Your freebsd box is trying to do a reverse lookup of the NT box (.4),
and from what I see above, nothing is providing this information, so
you have to wait for DNS to time out.  To make sure, run "tcpdump" on
your outgoing interface while connecting (and use "-n", as your
reverse-dns is hosed :)

The Q&D fix is to add it to /etc/hosts.

   $.02,
   /Mikko
-- 
 Mikko Työläjärvi_______________________________________mikko@rsasecurity.com
 RSA Security

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?200203091836.g29IaJQ96457>