From owner-freebsd-questions Fri Mar 8 16: 1: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tninet.se (sheridan.tninet.se [195.100.94.102]) by hub.freebsd.org (Postfix) with ESMTP id 7C62A37B419 for ; Fri, 8 Mar 2002 16:01:00 -0800 (PST) Received: from cs.umu.se (h27n1c1o1023.bredband.skanova.com [213.64.164.27]) by sheridan.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 248533.632058.1015.0s3898588sheridan for ; Sat, 09 Mar 2002 01:00:58 +0100 Message-ID: <3C8950BA.39FD1D78@cs.umu.se> Date: Sat, 09 Mar 2002 01:00:58 +0100 From: Paul Everlund X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Reverse DNS timeouts before connection? References: <20020304105431.A36025@freeze.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! 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 hostname="fw.everlund.homeip.net" gateway_enable="YES" forward_sourceroute="YES" network_interfaces="lo0 ed0 ed1" ifconfig_ed0="mtu 1492" ifconfig_ed1="inet 192.168.0.1 netmask 255.255.255.0" ifconfig_ed1_alias0="inet 192.168.0.2 netmask 255.255.255.255" inetd_enable="YES" inetd_flags="-w -W -l -R 1024" /etc/host.conf hosts bind /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 /etc/inetd.conf telnet stream tcp nowait root /usr/libexec/telnetd telnetd 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- side, on another computer, it connects directly. Also, if I put #bind in the /etc/host.conf I connect directly from my in- ternal network, but can then not connect via tun0 to the out- side. What is wrong? Would be very, very happy if someone would try to help me out! Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message