Hello,
I'm experiencing an issue with Virtualmin -> Server Configuration -> DNS Records. When I add a A record, the record doesn't show up in the DNS Records list. This happens both if I use the 'Create Record of Type' feature or the manual edit. The validation goes green, the zone file is updated and bind9 correctly answers to the related query - so everything actually works under the hood - but the record doesn't come up in the list. Adding any other type works fine, and manually editing the zone file changing the newly created other-type record to an A makes it come up in the list as so, so it definitely looks like a visualization/parsing bug on Virtualmin part. This seems to happen only with one domain in particular, which is, incidentally, nameserver of itself (e.g. ns1.example.org serving example.org). Perhaps Virtualmin is trying to lookup some GLUE information about A records when first added, but something is making it fail?
Comments
Submitted by markkuit on Tue, 01/23/2018 - 07:56 Comment #1
Submitted by andreychek on Tue, 01/23/2018 - 09:53 Comment #2
Howdy -- thanks for your bug report!
Just to verify, which theme is it that you're using there? The default Authentic theme? Or perhaps the Virtualmin Framed theme?
Submitted by markkuit on Tue, 01/23/2018 - 10:12 Comment #3
Hello Andrey,
yes, I'm using the default Authentic theme.
Submitted by JamieCameron on Tue, 01/23/2018 - 23:10 Comment #4
Are you sure the page isn't cached in your browser? A shift-reload may be needed.
Submitted by markkuit on Wed, 01/24/2018 - 15:35 Comment #5
Yes, I'm sure no caching is in effect. I just tried disabling cache as well. Is there any way we could debug how Virtualmin is trying to list the records from the zone file?
Submitted by JamieCameron on Wed, 01/24/2018 - 21:58 Comment #6
If you click the "Manually Edit DNS Records" button on that page, does the new A record show up?
Submitted by markkuit on Thu, 01/25/2018 - 02:22 Comment #7
Yes, it does. It also works (bind9 correctly answers queries for it). It just doesn't show up in the list.
Submitted by JamieCameron on Fri, 01/26/2018 - 00:11 Comment #8
Can you post the raw zone file text here? It's possible that Virtualmin isn't parsing it all properly.
Also, what's the name of the problem A record?
Submitted by markkuit on Fri, 01/26/2018 - 02:18 Comment #9
Any way I can pass it to you privately?
Am I missing something here? Use your domains dns area, far better .
Why do we need dns in VM? Lets get rid of another 2 million lines of code.
Also why does authentic theme come up in every problem these days.
Submitted by JamieCameron on Sat, 01/27/2018 - 13:56 Comment #12
markkuit - You can email me the DNS records at jcameron@virtualmin.com
Gosh I had the same problem. Then I realised I the default button "Same as domain" is ticked and you have to tick the radio button next to it. Not a biggie but still had me busy troubleshooting for a while.
This happens very occasionally in Virtualmin and Webmin, it's not obvious that the default button must be unclicked or clicked. If I can be funny about user interfaces maybe a boxed layout? :-) Or maybe assume the user actually want to creat an A record by name instead as default "same as domain"?
Submitted by JamieCameron on Sat, 02/16/2019 - 18:16 Comment #14
Yeah, there's a bug in that field that doesn't make it clear that you need to check the box. We'll fix it in the next release.
Submitted by IssueBot on Sat, 03/02/2019 - 18:30 Comment #15
Automatically closed - issue fixed for 2 weeks with no activity.