James wrote:
> Howdy,
>
> I have Fedora 9 installed and would like to use it as the DNS system in
> the house.
>
> The setup is as follows
>
> options {
> listen-on port 53 { 127.0.0.1 <http://127.0.0.1>; };
> 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";
> allow-query { localhost; };
this tells it to only allow localhost to use this server as a resolver,
add your subnet in:
allow-query {
localhost;
10.0.0.0/24;
};
or define an acl for your local net
acl localnet {
10.0.0.0/24;
};
and then you can use localnet in the allow-query list