#36 ENHANCEMENT REQ: custom text for master zones in named.conf

open
nobody
None
5
2003-06-28
2003-06-27
Anonymous
No

It would be nice if we were able to specify additional
text to be inserted in a newly created zone section of
named.conf.

For instance, when adding a new zone you might see this
in named.conf:

zone "mydomain.com" {
type master;
file "/var/cache/bind/mydomain.com.hosts";
};

In my case, I like to block outside parties from
querying anything other than what they are supposed to.
So I set up my options{} section to include:

allow-query {127.0.0.1;}

as opposed to

allow-query {any;}

Then, in each zone which I want to be queryable from
the outside, I add "allow-query {any;}":

zone "mydomain.com" {
type master;
allow-query { any; };
file "/var/cache/bind/mydomain.com.hosts";
};

So instead of modifying
usr/share/webmin/bind/create_master.cgi as I did to
include the "allow-query{any;};" line in new zones, it
would be nice if under "Zone Defaults/Defaults for new
master zones" had a textarea field for including extra
text to be inserted in each newly created master zone
section of the named.conf file.

Thanks much!

Discussion

  • Jamie Cameron

    Jamie Cameron - 2003-06-28

    Logged In: YES
    user_id=129364

    Nice idea .. I'll move this to the 'feature requests'
    section for when I get the chance.

     
  • Jamie Cameron

    Jamie Cameron - 2003-06-28
    • labels: 323082 -->
    • assigned_to: jcameron --> nobody