Re: How to enable bind to listen querys from all my network

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



try this


listen-on port 53 { 0.0.0.0; };


On Thu, 2008-08-28 at 12:28 +0200, Lorenzo Quatrini wrote:
Miguel A. Velasco ha scritto:

> I have bind-chroot installed with the following options in /etc/named.conf:
> 
> options {
>         listen-on port 53 { 127.0.0.1; 10.10.80.0; };
>         listen-on-v6 port 53 { ::1; };
>         directory       "/var/named";
>         dump-file       "/var/named/data/cache_dump.db";
>         statistics-file "/var/named/data/named_stats.txt";
>         memstatistics-file "/var/named/data/named_mem_stats.txt";
> 
>         // Those options should be used carefully because they disable port
>         // randomization
>         // query-source    port 53;
>         // query-source-v6 port 53;
> 
>         allow-query     { localhost; };
Hi Miguel,
you have to edit the allow-query line to allow queries from other host (I have
any there, not localhost) I'm not sure about the syntax but I guess you could
try to put 10.10.80.* or 10.10.80.0/24 there to allow queries from you network

Also remove "10.10.80.0;" from listen-on port as it isn't needed (here you can
specify addresses if your server is multi-homed and you want it to listen only
on some interfaces)

--
Regards

Lorenzo Quatrini
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux