Hi Ilia
I have a question, Lets say we have a main server that hosts mail, web etc called hosting.com this server is connected 2 dns servers ns1.hosting.com and ns2.hosting.com (connected through webmin > webmin servers index). user used for the connection is root with root password.
Now lets say we add the 2fa to all 3 servers through webmin > webmin users > user root.
So here is the question, does the connection from hosting.com to the 2 ns servers which connect via port 10000 with the root credentials which controls all the bind additions and updates pass through ? or does the fact that the ns servers now have 2fa cause the updates / connection to fail ?
The reason for the question is we are seeing the control of the 2 ns servers from the main server fail once 2fa is enabled.
Yeah, on Webmin 2.640 and later, enabling 2FA for root blocks those RPC connections, so hosting.com sends the saved root password, but it can’t send a 2FA code.
You should keep 2FA on root on all three servers. Then create a separate Webmin user on each nameserver and select “RPC calls only”. Leave 2FA off for those accounts and update the two entries in “Webmin Servers Index” page to use them.
As a side when I click on the server button in the webmin server index I get an error thrown up.
Just to be sure the rpc calls is working, this is just and error where it used to send you to the ns server. Ending anything with an error is not a good look.