From owner-freebsd-questions Mon Dec 4 13:50:20 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 4 13:50:15 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from tomts8-srv.bellnexxia.net (tomts8.bellnexxia.net [209.226.175.52]) by hub.freebsd.org (Postfix) with ESMTP id D1D3937B400 for ; Mon, 4 Dec 2000 13:50:11 -0800 (PST) Received: from dusty.galima.2y.net ([64.229.84.85]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20001204215011.YAHS27329.tomts8-srv.bellnexxia.net@dusty.galima.2y.net> for ; Mon, 4 Dec 2000 16:50:11 -0500 Received: (from cactoos@localhost) by dusty.galima.2y.net (8.9.3/8.9.3) id QAA23039 for freebsd-questions@freebsd.org; Mon, 4 Dec 2000 16:51:29 -0500 (EST) (envelope-from cactoos) Date: Mon, 4 Dec 2000 16:51:29 -0500 From: Alexander Anderson To: freebsd-questions@freebsd.org Subject: Re: Resolver issues Message-ID: <20001204165129.A22789@dusty.galima.2y.net> References: <20001203175100.A20490@dusty.galima.2y.net> <20001203211741.Z99903@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20001203211741.Z99903@149.211.6.64.reflexcom.com>; from cjclark@reflexnet.net on Sun, Dec 03, 2000 at 09:17:41PM -0800 Sender: cactoos@dusty.galima.2y.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 03, 2000 at 09:17:41 PM or thereabouts, Crist J . Clark wrote: > > $ ifconfig tun0 | grep "inet " > > inet 64.229.84.85 --> 64.229.84.1 netmask 0xffffff00 > ^^^^^^^^^^ > Well that doesn't look right. Hmm, what should it be? I'll try to experiment with my network settings then. And here's my ``ppp.conf'' by the way; does anything look strange here? $ cat /etc/ppp/ppp.conf # /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command pppoe: set redial 15 28800 set reconnect 15 28800 set device PPPoE:vr0 set mru 1492 set mtu 1492 set speed sync enable lqr set lqrperiod 5 set cd 5 set dial set login set timeout 0 set authname xxxxxxxx@sympatico.ca set authkey xxxxxxxx set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns # end of ppp configuration > > $ ping example.com > > PING xxxxx.xxx (64.229.84.85): 56 data bytes > > 64 bytes from 64.229.84.85: icmp_seq=0 ttl=255 time=0.311 ms > > That netmask is strange. What does your routing table look at it while > we're at it? I have never changed the routing table manually, so if anything is out of order here, please suggest me what to do. $ netstat -r -f inet Routing tables Internet: Destination Gateway Flags Netif Expire default HSE-Toronto-ppp178 UGSc 8 2655320 tun0 HSE-Toronto-ppp178 HSE-Toronto-ppp178 UH 7 0 tun0 localhost localhost UH 6 622486 lo0 192.168.1 link#2 UC 0 0 vr1 => xxxxx 0:80:c8:f3:80:2a UHLW 0 111421 vr1 881 xxxxx link#2 UHLW 1 26028 vr1 => > But more to the point, what happens if you have a 'tcpdump port 53' > running when you get these odd lookup results? A, > > # tcpdump -vvnX port 53 tcpdump: listening on tun0 16:19:01.582876 64.229.84.85.2022 > 209.226.175.224.53: 45199+ A? \ example.com. (29) (ttl 64, id 46616) 0x0000 4500 0039 b618 0000 4011 ad9e 40e5 5455 E..9....@...@.TU 0x0010 d1e2 afe0 07e6 0035 0025 608e b08f 0100 .......5.%`..... 0x0020 0001 0000 0000 0000 0765 7861 6d70 6c65 .........example 0x0030 0363 6f6d 0000 0100 01 .com..... 16:19:01.940047 64.229.84.85.2023 > 209.226.175.224.53: 45200+ A? \ example.com.xxxxxx.xx.net. (43) (ttl 64, id 46617) 0x0000 4500 0047 b619 0000 4011 ad8f 40e5 5455 E..G....@...@.TU 0x0010 d1e2 afe0 07e7 0035 0033 92d1 b090 0100 .......5.3...... 0x0020 0001 0000 0000 0000 0765 7861 6d70 6c65 .........example 0x0030 0363 6f6d 0667 616c 696d 6102 3279 036e .com.xxxxxx.xx.n 0x0040 6574 0000 0100 01 et..... ^C 214 packets received by filter 0 packets dropped by kernel Notes: all this obtained while pinging ``example.com''; my domain name was in place of xxxxxx.xx.net; 209.226.175.224 is the nameserver of my ISP. And here's a general overview of my system if that helps: interface vr0 for the Internet, vr1 for LAN. Internet connection using PPPoE. Thanks for your help everyone! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message