From owner-freebsd-questions@FreeBSD.ORG Sat Oct 23 03:02:02 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 2FCCA106564A for ; Sat, 23 Oct 2010 03:02:02 +0000 (UTC) (envelope-from bluethundr@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AD7558FC1A for ; Sat, 23 Oct 2010 03:02:01 +0000 (UTC) Received: by bwz3 with SMTP id 3so1766114bwz.13 for ; Fri, 22 Oct 2010 20:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=urzR2IDMOjHVWfilPJnk9v35uBjHFeN5dWoxw4Mo5MU=; b=SNxdYHuPS9R1izK3oWDILlVlsSx+bhcuCmkM95StNqCD99xtqyduXiOlinuTw61wzu iNrunJ8iV4pUApf1Dk5+HImo/4jUKvLe5u2MtBjjI0BzykAEsvjUtcRLMhuTTgnmrMZJ W36NyaOInd5k2K3u7VGwtCbCFt6cA+izy9ZUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jKN3cK/2Ot2nHrOWcaTSr6X9moF1Yz0QqB87slwlUTmkMLgtlWo1kazfMnykxyXhVx U8ACMfUe8+Vi8IEKeGvzysPbZ9/bhJ3N00SC8lQBAnK1Eg+RcLJFYGI+Mor+PO9THcb9 i/3sAZ2kMX03qmo3kuQBEMgPyKgfQkhddmGYs= MIME-Version: 1.0 Received: by 10.204.126.167 with SMTP id c39mr2924104bks.125.1287802919837; Fri, 22 Oct 2010 20:01:59 -0700 (PDT) Received: by 10.204.81.153 with HTTP; Fri, 22 Oct 2010 20:01:59 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Oct 2010 23:01:59 -0400 Message-ID: From: Tim Dunphy To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: download cvsup? 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: Sat, 23 Oct 2010 03:02:02 -0000 guys, thanks for the input. busy couple of days sorry for not following up soone= r. at any rate, I tried many suggestions. Here is the current state of things: This is a working resolv.conf on the rest of the network which are CentOS machines: [root@LBSD2:/usr/home/bluethundr]#cat /etc/resolv.conf domain summitnjhome.com nameserver 192.168.1.44 nameserver 71.250.0.12 nameserver 4.2.2.2 I rsync'ed this file to the bsd server from a CentOS machine and this is what happens when you try to resolve internally, then externally (also tried editing it manually of course): [root@LBSD2:/usr/home/bluethundr]#host bsd2 bsd2.summitnjhome.com has address 192.168.1.44 [root@LBSD2:/usr/home/bluethundr]#host sum1 sum1.summitnjhome.com is an alias for lCent01.summitnjhome.com. lCent01.summitnjhome.com has address 192.168.1.42 [root@LBSD2:/usr/home/bluethundr]#ping yahoo.com ping: cannot resolve yahoo.com: Host name lookup failure this is how my named.conf looks: options { // Relative to the chroot directory, if any directory "/etc/namedb"; pid-file "/var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; Also i notice it's [root@LBSD2:/usr/home/bluethundr]#ping yahoo.com ping: cannot resolve yahoo.com: Host name lookup failure with forwarders commented out and [root@LBSD2:/usr/home/bluethundr]#ping yahoo.com PING yahoo.com (72.30.2.43): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host with forwarders enabled: forwarders { 71.250.0.12; 4.2.2.2; }; or even just forwarders { 192.168.1.1; }; enabled.. I'm still quite puzzled.. I'm hoping that this problem won't require me to backup my most important configurations (DNS, LDAP, Apache) and reinstall.. cuz that's uhmmm.. cheating! ;) not to mention a pain in the firggin' arse... guh // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. #listen-on { 127.0.0.1; }; listen-on { 127.0.0.1; 192.168.1.44; }; allow-recursion {127.0.0.1; 192.168.1.0/24;}; On Wed, Oct 20, 2010 at 5:38 AM, Michael Powell wr= ote: > Dick Hoogendijk wrote: > >> Are the forwarders in your named.conf file OK? > > That was the next thing I was about to suggest. His FIOS router should be > running DNS itself by default, with it pointing to Verizon's name servers= . > So he could try using 192.168.1.1 in his named.conf forwarders directive. > This would just recurse out to Verizon's name servers and should get a ba= sic > external resolution going, provided he has not altered the default router > setup. > > Example from mine: (don't just cut and paste but adjust as required) > > options { > =A0 =A0 =A0 =A0directory =A0 =A0 =A0 "/etc/namedb"; > =A0 =A0 =A0 =A0pid-file =A0 =A0 =A0 =A0"/var/run/named/pid"; > =A0 =A0 =A0 =A0dump-file =A0 =A0 =A0 "/var/dump/named_dump.db"; > =A0 =A0 =A0 =A0statistics-file "/var/stats/named.stats"; > > =A0 =A0 =A0 =A0listen-on =A0 =A0 =A0 { 127.0.0.1; 192.168.10.1; }; > > =A0 =A0 =A0 =A0allow-recursion {127.0.0.1; 192.168.10.0/24;}; > > // If you've got a DNS server around at your upstream provider, enter > // its IP address here, and enable the line below. =A0This will make you > // benefit from its cache, thus reduce overall DNS traffic in the Interne= t. > > =A0 =A0 =A0 =A0forwarders { > =A0 =A0 =A0 =A0 208.67.222.222; 208.67.220.220; 192.168.1.1; > =A0 =A0 =A0 =A0}; > > > // =A0 =A0 =A0query-source address * port 53; > }; > > -------/ Below are snipped out zone file directives for my local stuff = =A0/--- > > The first two IP addresses in my forwarders clause are for OpenDNS. You > could delete them so as to only have 192.168.1.1 and your FreeBSD's DNS > server will then forward requests to your FIOS router which will then > request from Verizon. Use of the listen-on and allow-recursion is not > necessary, but if you decide to utilize make sure they reflect values whi= ch > apply to your situation. Do rndc reload or reboot to take effect. > > I think he has some other issues pending as well, but one thing at a time= . > :-) > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > --=20 Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!!