Date: Wed, 27 Oct 2004 21:56:32 +0200 From: cpghost@cordula.ws To: Samuel Trommel <s.trommel@helpdesk.kabelfoon.nl> Cc: freebsd-stable@freebsd.org Subject: Re: ppp -nat broken??? Message-ID: <20041027195632.GA1888@bsdbox.farid-hajji.net> In-Reply-To: <CCD669E367CFF34FA78847EC88181C9C0870BA@kabfoon.kabelfoon.intern> References: <CCD669E367CFF34FA78847EC88181C9C0870BA@kabfoon.kabelfoon.intern>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 27, 2004 at 05:11:54PM +0200, Samuel Trommel wrote: > > > Primary nameserver 195.62.99.42 > > > Secundary nameserver 195.62.97.177 > > Yes, that works, thank you so far, but ... > > I never had to do this before this way. I always simply set my > > gateway as name-server and I wonder what has changed the last > > week or so. > > Just imagine, I had to upgrade our school's gateway/proxy (which > > And that is where dhcpd comes in to play:D > > Just setup a DHCP-server and you are done.. Well, sorry to chime in here, but you're just suggesting a work around, not a real solution (which is to be running a caching named on the gateway machine). Uli, could you check if your named works as expected? The following applies to 5.x, adjust as necessary for 4.x: 1. does named indeed run on the gateway? gw# ps ax | grep named 277 ?? Ss 8:29.33 /usr/sbin/named -u bind -t /var/named 18582 ?? Ss 1:54.00 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/r 81756 p1 S+ 0:00.02 grep named 2. does named listen on all relevant interfaces (sockstat -46)? You should get something like this: gw# sockstat -46 | grep bind bind named 277 20 udp4 192.168.254.1:53 *:* bind named 277 21 tcp4 192.168.254.1:53 *:* bind named 277 22 udp4 127.0.0.1:53 *:* bind named 277 23 tcp4 127.0.0.1:53 *:* bind named 277 24 udp4 *:59582 *:* bind named 277 25 tcp4 127.0.0.1:953 *:* (one random port must be open to the outside world, so named can get replies (?), other ports must be open to the inside net(s)) 3. using dig from the gateway, querying the local named, whan happens? 4. using dig from a host != gateway (on your local net), what happens? 5. Can you ping outside NUMERICAL IP address from your local net? % ping 66.94.229.254 (www.altavista.com) Regards, cpghost. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041027195632.GA1888>