#3386 BIND:Addresses and Topology: manual sortlist entry destroyed

1.470
closed-fixed
5
2009-04-26
2009-04-25
Anonymous
No

Currently the "sortlist" options entry is not supported by Webmin. Now I understand that this might be one of the more "exotic" BIND features and that the critical user mass is not using it and thus it did not make it into Webmin. Which is fine.
So I just manually added this options entry into "named.conf.options":

sortlist {
{ 1.2.3.4; { 1.2.3.4; }; };
{ any; { 1.2.6.0/24; }; };
};

I rebooted bind and it works as expected. But as soon as I go to "Webmin" -> "BIND DNS Server" -> "Addresses and Topology" there are several issues:

a) it does not correctly load the Webmin-aware current configuration options. (e.g. it no longer shows the correct list or servers allowed to do recursive queries)
b) if I e.g. add the macro "any" to the "Allow recursive queries from" list and click "Save" it will write this into the "named.conf.options" file:

sortlist {
allow-recursion {
any;
};
{ 1.2.3.4; { 1.2.3.4; }; };
{ any; { 1.2.6.0/24; }; };
};

So it seems like Webmin does not ignore the unknown option and just carry it from one config to the next but screws it up good.

Again, I don't want Webmin to support sortlist options configuration (would be nice tho ;)) but it would we VERY helpful if it would just not touch manually added entries so that non-webmin options can at least get added manually without Webmin touching them.

Thanks

Discussion

  • Nobody/Anonymous

    BTW: I am getting this error on Ubuntu 9.04 x64. But I don't think this information matters because I would think that this is a general error in the BIND module that will manifest on every OS.

    Cheers

     
  • Jamie Cameron

    Jamie Cameron - 2009-04-26
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2009-04-26

    Ok, I see the problem .. Webmin's named.conf parser isn't handling blocks like those inside of the sortlist which just start with { with no name. I'll fix this in the next release..

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks