[CentOS] How to enable bind to listen querys from all my network
Gopinath Achari
gopinath at signal-networks.com
Thu Aug 28 11:39:58 UTC 2008
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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080828/e9878824/attachment.html>
More information about the CentOS
mailing list