Re: Using bind for a local caching name server, is this configuration correct?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Assuming that you find some way to do DNS queries without your router
blocking them:



Stan wrote:
> // named.conf
> 
> options {
>         listen-on port 53 { 127.0.0.1; };

Above, you are *only* listening on the local loopback address.

>         allow-query     { localhost; 192.168.0.0/24; };
>         allow-query-cache     { localhost; 192.168.0.0/24; };

Here, you are allowing queries from your LAN, but your server isn't
listening for connections from your LAN.  

Interestingly, with my server's default settings (only allowing
localhost), it allows queries from more than just localhost, but it
just doesn't give any answers (I expected less than that).  And when I
look at examples, they've written addresses like "192.168.0/24;" not
"192.168.0.0/24;", it seems to work either way.

Add another listen directive if you want your DNS server to be queried
by other devices on your LAN.

e.g.	listen-on port 53 { 192.168.0/16; };

Though, if your DNS server is on a fixed IP (which it ought to be),
just put its specific IP in there.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux