Date: Wed, 15 Aug 2007 08:23:23 -0500 From: Derek Ragona <derek@computinginnovations.com> To: Nicholas Wieland <nicholas.wieland@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Local domain with Bind Message-ID: <6.0.0.22.2.20070815081214.02698e18@mail.computinginnovations.com> In-Reply-To: <3537FB4C-1B89-4019-A22D-DB20FA5A033C@gmail.com> References: <41FB0507-8216-416A-86FB-F3A1CE56D753@gmail.com> <6.0.0.22.2.20070815015421.02690b68@mail.computinginnovations.com> <3537FB4C-1B89-4019-A22D-DB20FA5A033C@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 05:10 AM 8/15/2007, Nicholas Wieland wrote: >Il giorno 15/ago/07, alle ore 09:01, Derek Ragona ha scritto: > >>At 06:44 PM 8/14/2007, Nicholas Wieland wrote: >> >>This looks like the DNS settings on your other server, chienandalusia >>(192.168.0.3), is not setup correctly. Check /etc/resolv.conf on this >>server, and be sure the first nameserver is: >>nameserver 192.168.0.2 >> >>In fact on this server you should have only that entry, as your server at >>192.168.0.2 should forward any other unknown DNS requests upstream to the >>forwarders. > >Hi Derek, thanks for your answer. > >ngw@chienandalusia ~$ cat /etc/resolv.conf >nameserver 192.168.0.2 > >Logs for a request to my local domain done with my Apple notebook: > >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: >client 192.168.0.3#49376: send >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: >client 192.168.0.3#49376: sendto >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: >client 192.168.0.3#49376: senddone >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: >client 192.168.0.3#49376: next >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: >client 192.168.0.3#49376: endrequest >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug >3: fctx >0x8220e00(<http://www.apple.com.akadns.net/A'>www.apple.com.akadns.net/A'): > doshutdown >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug >3: fctx >0x8220e00(<http://www.apple.com.akadns.net/A'>www.apple.com.akadns.net/A'): > stopeverything >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug >3: fctx >0x8220e00(<http://www.apple.com.akadns.net/A'>www.apple.com.akadns.net/A'): > cancelqueries >Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug >3: fctx >0x8220e00(<http://www.apple.com.akadns.net/A'>www.apple.com.akadns.net/A'): > destroy > >Forwarding works like a charme, so actually my client connects to bind and >in case of an external domain it is served. If the domain is my local one >no chance. >Even more weird: > >luna# ping hg.subbacultcha.local >PING subbacultcha.local (192.168.0.2): 56 data bytes >64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.041 ms >64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.033 ms > >Actually I think it's Bind refusing connections from the outside, but >pretending to always forward. >I can't see the mistake in my configuration though. > >TIA, > ngw I don't see anything in the bind configuration file either, AND it all works on the DNS server and your mac so we know that the BIND configuration is fine. Check on the .3 server /etc/nsswitch.conf be sure you have a line like: hosts: files dns in this file. If that doesn't fix it, check your gateway setting, netmask, and other settings on your ethernet interface. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20070815081214.02698e18>