Local DNS Caching not caching on external interface
Christopher Cowart
ccowart at rescomp.berkeley.edu
Thu Dec 14 01:08:17 PST 2006
On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
> Dear All,
>
> I am very new to Bind and FreeBSD.
>
> I have just configured a Local DNS server using the built-in Bind 9.3.1
> on a FreeBSD 5.4 machine.
>
> My problem is that the machine can cache queries on the localhost and
> loop back (127.0.0.1) interface only.
>
> I have a public static IP on this machine too and I can't seem to query
> the caching name server from my local network.
>
> In Linux, this is no problem. I just can't seem to get Bind to work as
> in my local network. It works only on the loopback interface.
The default /etc/namedb/named.conf configuration file for BIND says:
| // 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; };
It looks like if you comment out that option, it will listen on * by
default. You could also add the other IP address on which you want named
to listen.
--
Chris Cowart
Network and Infrastructure Systems Administrator
RSSP-IT, UC Berkeley
"May all your pushes be popped"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061214/87cdb0a7/attachment.pgp
More information about the freebsd-questions
mailing list