Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Mar 2002 01:00:58 +0100
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Reverse DNS timeouts before connection?
Message-ID:  <3C8950BA.39FD1D78@cs.umu.se>
References:  <20020304105431.A36025@freeze.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C8950BA.39FD1D78>