Re: Local DNS Caching not caching on external interface



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 14 Dec 2006 01:08:11 -0800
Christopher Cowart <ccowart@xxxxxxxxxxxxxxxxxxxx> wrote:

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"


Dear Chris,

Thank you for your help. I did comment and added my public static IP
like the following:


listen-on { 202.x.x.x; }; # My Static IP

Now when I do from my local PC:

dig yahoo.com @202.x.x.x , I can do DNS lookups.

But when I try doing that from another computer on my network, I can't
do any DNS lookups.


Is that anything that I miss?


- --


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP+1GxG2uDTfWpgCfTFr1
168ArGMkI0+9Qj/MpzFbmUo=
=p9RV
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: BIND update?
    ... or criticism with a positive approach. ... the fact that DNS ... the BIND installation in the base is not intended to ... security advisories to write, FreeBSD ...
    (FreeBSD-Security)
  • Re: Local DNS Caching not caching on external interface
    ... I have just configured a Local DNS server using the built-in ... Bind 9.3.1 on a FreeBSD 5.4 machine. ... to query the caching name server from my local network. ...
    (freebsd-questions)
  • Re: Local DNS Caching not caching on external interface
    ... I have just configured a Local DNS server using the built-in ... Bind 9.3.1 on a FreeBSD 5.4 machine. ... to query the caching name server from my local network. ...
    (freebsd-questions)
  • Re: Local DNS Caching not caching on external interface
    ... I have just configured a Local DNS server using the built-in ... Bind 9.3.1 on a FreeBSD 5.4 machine. ... seem to query the caching name server from my local network. ...
    (freebsd-questions)
  • Re: Local DNS Caching not caching on external interface
    ... >> I am very new to Bind and FreeBSD. ... >> I have just configured a Local DNS server using the built-in Bind ... >> query the caching name server from my local network. ...
    (freebsd-questions)