Menu

#5590 Modul BIND8 works incorrectly

2.000
open
nobody
None
5
2022-11-16
2022-11-11
Alex
No

start page "/bind8/index.cgi" do not show views:

"Existing Client Views
There are no client views defined on this server."

But in config named.conf they are.

And no DNS zones

"There are no DNS zones defined for this name server"

But in config named.conf they are.

/bind8/conf_net.cgi do not show Source IP address for queries
If set - its writen at config ok "query-source address AA.BB.CC.DD;"
But /bind8/conf_net.cgi do not show it if open "Addresses and Topology" again/

Stop/Start bind works ok

"Edit Config File" works ok

The named server itself works fine.
From what moment it ceased to be displayed normally I can not say.

System centos 6.10.
query-source address do not work and at Fedora Linux 29

Looks like some problem with displaying the contents of the config named.conf.

Config very simple, standart and add acl and views like this

acl backup {
1.2.3.4;
};

view "backup" {
match-clients {
backup;
};
recursion yes;
allow-transfer {
none;
};
allow-query {
backup;
};
allow-notify {
x.x;
x.y;
x.z;
};
};

Discussion

  • Jamie Cameron

    Jamie Cameron - 2022-11-12

    Can you attach your named.conf file to this bug report as an attachment?

     
  • Alex

    Alex - 2022-11-12

    ip addresses hidden in the form a.b.c.d
    domain names are hidden in the form name1 name2 name3

    everything else as is

    named run in chroot mode

     
  • Jamie Cameron

    Jamie Cameron - 2022-11-13

    You config works OK on my test system. Can you attach a screenshot of the BIND module's initial page?

     
  • Alex

    Alex - 2022-11-13

    Init + Addresses and Topology

     
  • Ilia

    Ilia - 2022-11-13

    What Webmin version are you runnig there? Did you install Webmin properly using a package or downloading a source? It looks that you didn't install it correctly, as your theme is missing, which indicates that there may be other issues with modules config as well.

    Try installing Webmin from a package. You can find all installable sources from Webmin releases page on GitHub.

     
  • Alex

    Alex - 2022-11-13

    webmin installed from tar.gz from official site webmin.com
    First installed version was 1.930
    After was upgrades from login to webmin:
    1.930->1.941->1.991->1.994->1.999->2.000

    After installed 1.930 was setup from webmin to use old theme version.

    Need time to test, clean all and reinstall new.

     
  • Alex

    Alex - 2022-11-13

    make clean install - webmin stoped, /etc/webmin deleted, /var/webmin deleted
    install from webmin.com tar.gz 2.000

    1 - looks views ok and domain names ok
    2 - Source IP address for queries not ok - its still empty
    3 - new trouble - dashboard not started, when loged red line above go left and right

    "old theme webmin" are deleted?

     
  • Alex

    Alex - 2022-11-13

    login start page

     
  • Alex

    Alex - 2022-11-13

    I found
    webmin -> Change Language and Theme -> there is Personal choice and there is Legacy Theme

    And legacy again like was at my first screenshots

    BIND8 show views, show domains
    Source IP address for queries not ok - its still empty

     
  • Jamie Cameron

    Jamie Cameron - 2022-11-14

    Check the configuration of the BIND module and make sure the chroot settings are correct .

     
  • Alex

    Alex - 2022-11-14

    configuration ok see screenshots

     
  • Jamie Cameron

    Jamie Cameron - 2022-11-15

    What if you change that "Chroot directory to run under" option in the first screenshot to None?

     
  • Alex

    Alex - 2022-11-15

    alas, it's the same

    views -OK
    domains - OK
    edit config - OK
    Addresses and Topology - "Source IP address for queries" sets "default" and no IP, and field for IP is gray
    but it exists in config "query-source address AA.BB.CC.DD;"

    If i delete this "query-source address AA.BB.CC.DD;" in "edit config", and go to Addresses and Topology and set it again Source IP address for queries AA.BB.CC.DD this entry will appear in the config file again "query-source address AA.BB.CC.DD;". But if reopen Addresses and Topology Source IP address for queries sets "default" and no IP, and field for IP is gray

     
  • Alex

    Alex - 2022-11-15

    And if i press "save" at Addresses and Topology with IP address for queries sets "default" and no IP, and field for IP is gray, this entry in the config file will be removed

     
  • Alex

    Alex - 2022-11-16

    Thanks!
    Its fixed !
    Now its ok.

     

Log in to post a comment.