Date: Wed, 15 Aug 2007 12:10:02 +0200 From: Nicholas Wieland <nicholas.wieland@gmail.com> To: Derek Ragona <derek@computinginnovations.com> Cc: freebsd-questions@freebsd.org Subject: Re: Local domain with Bind Message-ID: <3537FB4C-1B89-4019-A22D-DB20FA5A033C@gmail.com> In-Reply-To: <6.0.0.22.2.20070815015421.02690b68@mail.computinginnovations.com> References: <41FB0507-8216-416A-86FB-F3A1CE56D753@gmail.com> <6.0.0.22.2.20070815015421.02690b68@mail.computinginnovations.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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(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(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(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(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 -- Nicholas Wieland nicholas.wieland@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3537FB4C-1B89-4019-A22D-DB20FA5A033C>