DNS record edit fails with "Record name contains invalid characters"

OS type and version: CentOS 7.9.2009
Webmin version: 1.981
Virtualmin version: 6.17
Related products version: Also occurs under CentOS 8

Using Virtualmin > Server Configuration > DNS records, I added a DNS SRV record with an incorrect server name. I had entered sub.example.com when I should have entered example.com.
I tried to edit the record to remove the “sub.” but received the error message
“Failed to save DNS record : Record name contains invalid characters”

This occurs when I am logged in as root. When I “Switch to Server’s Admin” > Webmin modules > BIND DNS Server, I can successfully edit the SRV record.
It also works as root if I use Webmin > Servers > BIND DNS server.

It’s a minor problem since there are these workarounds. Is it a bug or am I misunderstanding something? It seems to be a difference between VIrtualmin and Webmin.

I have had similar issues in the past, way around it is to click ‘manually edit records’ then save. Works for me with the SRV records.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.