From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 15:20:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68F9510656C1 for ; Tue, 14 Dec 2010 15:20:08 +0000 (UTC) (envelope-from vic@yeaguy.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 194378FC08 for ; Tue, 14 Dec 2010 15:20:07 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=kXGwZUU/u1JTMRv8Axk4W0omja+vfTT+sGlOkodD8F8= c=1 sm=0 a=kj9zAlcOel0A:10 a=uRK6ZUxDawFwC8+94ldQlg==:17 a=6I5d2MoRAAAA:8 a=iOhrDboYAAAA:8 a=1XWaLZrsAAAA:8 a=ZJjxc0SMAAAA:8 a=75m9tRZCqAgJlCxfi2sA:9 a=OyBOHzICsy8AMl1XzekA:7 a=7ZVSud1XBVA30nYmThOHYA8-eeUA:4 a=CjuIK1q_8ugA:10 a=pZnKPkZR_lIA:10 a=u6pmmePcEMEA:10 a=xuOyKSTLVHYA:10 a=SV7veod9ZcQA:10 a=-_C46MR6lL4A:10 a=7y0AGi6IxL4LWfEI:21 a=ln2zdVXoBYyxokSl:21 a=uRK6ZUxDawFwC8+94ldQlg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 66.27.133.231 Received: from [66.27.133.231] ([66.27.133.231:61505] helo=[192.168.1.169]) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 9C/05-14897-62B870D4; Tue, 14 Dec 2010 15:20:07 +0000 Date: Tue, 14 Dec 2010 07:20:05 -0800 (PST) From: "Justin V." To: Robert Bonomi In-Reply-To: Message-ID: References: <201012141340.oBEDeae1010475@mail.r-bonomi.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: pls help.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 15:20:08 -0000 On Tue, 14 Dec 2010, Justin V. wrote: > > > On Tue, 14 Dec 2010, Robert Bonomi wrote: > >>> From owner-freebsd-questions@freebsd.org Tue Dec 14 05:45:55 2010 >>> Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST) >>> From: "Justin V." >>> To: freebsd-questions@freebsd.org >>> Subject: pls help.. >>> >>> Hi, >>> >>> I am having a very difficult time understanding what is going on with this >>> FreeBSD machine.. >>> >>> I was having inet trouble so i put in a new router on my network (home >>> network).. >>> >>> I have a FreeBSD machine on my network: >>> >>> FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 >>> PDT 2010 vic@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 >>> >>> >>> I have windows machines on my network.. >>> >>> >>> One of my windows machines is my laptop and I connect directly to the >>> router via WIFI without any trouble at all... I can browse any website >>> without complaint. >>> >>> My FreeBSD system connects to my WIFI router just fine as well.. I am >>> seeing troubles browsing the inet with my FreeBSD machine (Xorg and >>> opera) Pulling up Google.com can take up to 30s.. >> >> Without reading any further, this simply =reeks= of being a DNS problem. >> (99.999998792+% of all "30+ seconds to something over the net" problems >> are timeout issue. :) >> >> I suspect: >> a) the new router is not using the same 'local network' adddress as the >> old one was, This is not a total show stopper, because everyting >> 'local' is using DHCP to get both the local machine address _and_ >> the router address. >> b) you have a DNS server address hard-coded in the /etc/resolv.conf file. >> (the old router and new router are providing DNS proxy services on >> *different* addresses, and wyat you have hard-coded is the -old- >> address) >> c) your FBSD machine is trying to query the hard-coded DNS server >> address _first_, and when it gets no response, it *eventually* >> (ie. after 30 seconds) tries the 'second' DNS server address it has, >> which is the one learned by DHCP -- that works, the name resolves, >> and the page loads. >> >> On a WORKING windows box click "Start->Run", and type 'ipconfig/all' in the >> box, to see what it is using for a DNS server. >> >> Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a >> *different* address on a 'namemserver' line. >> >> >> > > > Heres what my resolv.conf is, ive changed it to use the router and itself, no > change in status: > > > [vic@yeaguy ~]$ cat /etc/resolv.conf > #domain yeaguy.com > #nameserver 10.1.1.1 > nameserver 192.168.1.1 > [vic@yeaguy ~]$ > > Im currently set to use the router.. > > The WIN pc is using: > > 209.18.47.61 and 209.18.47.62.. hmm.. i will try those.. > > Still hangs and times out.. but able to resolve and ping google.com just > fine.... grrrr... > > > > yeaguy# nslookup nytimes.com > Server: 209.18.47.61 > Address: 209.18.47.61#53 > > Non-authoritative answer: > Name: nytimes.com > Address: 199.239.136.200 > > yeaguy# ipnat -l > List of active MAP/Redirect filters: > map wlan0 10.1.1.0/24 -> 192.168.1.169/32 portmap tcp/udp 10000:60000 > map wlan0 10.1.1.0/24 -> 192.168.1.169/32 > > List of active sessions: > MAP 10.1.1.190 53401 <- -> 192.168.1.169 45879 [72.14.204.147 80] > MAP 10.1.1.190 53398 <- -> 192.168.1.169 18541 [72.14.204.147 80] > MAP 10.1.1.190 53397 <- -> 192.168.1.169 27460 [72.14.204.147 80] > > yeaguy# cat /etc/resolv.conf > #domain yeaguy.com > #nameserver 10.1.1.1 > #nameserver 192.168.1.1 > nameserver 209.18.47.61 > nameserver 209.18.47.62 > yeaguy# > > > yeaguy# telnet nytimes.com 80 > Trying 199.239.136.200... > Connected to nytimes.com. > Escape character is '^]'. > > > I got google to come up after refreshing the page, nytimes still does not > come up no matter what, can telnet it just fine on port 80 tho... > > this doesnt make sense. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I think we are resolved... I statically set my NAT'd WIN PC to what the Laptop was picking up and problem solved.. I edited named.conf and set my forwarders to what my laptop was picking up and problem solved.. my named.conf have the forwarder set to: 192.168.1.1, apparently the new router and an old dns server from my last job.. which normally worked fine.. i suspect that the old router was able to handle dns, while this one cannot... Thanks so much..