DNS A records not showing up

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?

Status: 
Closed (fixed)

Comments

Title: DNS records not showing up » DNS A records not showing up
Body: View changes

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?

Hello Andrey,

yes, I'm using the default Authentic theme.

Are you sure the page isn't cached in your browser? A shift-reload may be needed.

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?

If you click the "Manually Edit DNS Records" button on that page, does the new A record show up?

Yes, it does. It also works (bind9 correctly answers queries for it). It just doesn't show up in the list.

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?

Any way I can pass it to you privately?

Welshman's picture
Submitted by Welshman on Fri, 01/26/2018 - 07:01

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.

Welshman's picture
Submitted by Welshman on Fri, 01/26/2018 - 07:02

Also why does authentic theme come up in every problem these days.

eugenevdm.host's picture
Submitted by eugenevdm.host on Wed, 02/13/2019 - 00:49

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"?

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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.