Menu

#5584 Missing file, Bind module. edit_primary.cgi is missing.

2.000
closed-fixed
nobody
None
5
2022-09-23
2022-09-18
No

Hello,

I found a missing file in Webmin 2.0

When i want to edit my primary zone files i'm getting errors:
404 File not found — /bind8/edit_primary.cgi?zone=<my zone=""></my>

It doesn't do this for the master type zones.

A find -m "edit_primary.cgi" turns up empty.
While the edit_master.cgi file is found where i expected it to be.
./usr/share/webmin/bind8/edit_master.cgi

Kind Regards,
Marco.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2022-09-18

    Can you post the block for this zone from your /etc/named.conf file?

     
  • Marco Caspers

    Marco Caspers - 2022-09-22

    There's no /etc/named.conf
    There is /etc/bind/named.conf
    That is a file that has includes to 3 other files.
    I'm guessing that you need the/a zone block from named.conf.local?

    An example:

    zone "0xc007.nl" {
    type primary;
    file "/etc/bind/db.0xc007.nl";
    };

    I've been reading up on this, and it turns out that master/slave zone types are equivalents of primary/secondary zone types. It just depends on what terminology you've learned, Bind 9 servers accept both.

    Just to be sure. From my point of view the name of the cgi script that gets called hinges on the term in the configuration file.
    I think this is pretty dangerous and a field day for a hacker.

     

    Last edit: Marco Caspers 2022-09-22
  • Jamie Cameron

    Jamie Cameron - 2022-09-23
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2022-09-23

    Thanks for pointing this out - it will be fixed in the next Webmin release.

     
  • Jamie Cameron

    Jamie Cameron - 2022-09-23

    Thanks for pointing this out - it will be fixed in the next Webmin release.

     

Log in to post a comment.

MongoDB Logo MongoDB