A note about PTR records. Unless you OWN the IP address, or have been given the ability to manage these directly, you won’t be able to.
In most cases, the ISP owns the IP address (where your server is hosted) and therefore either they have to setup the PTR for you on their DNS server, or in some cases they’ll provide an interface for you to do so yourself, but again this record is NOT managed on YOUR server generally speaking.
@Joe that is in the input field; the domain (note: with dot by the way) is listed behind the input field and is uneditable. I would assume that the CGI script will make “mail” from the input field into a proper “mail.domain.tld.” PTR record.
@tpnsolutions Normally, that would indeed not be the case. I have it indirectly delegated. A script runs to sync them. But even if I would trigger on another field in the DNS, Virtualmin should work and not give this error, right?
Oh, I thought you were in Webmin’s BIND module creating a reverse zone!
So this is somewhat different. Though I’m not sure what this form does or expects, I’ve never actually used it. It’s kind of misleading about how a PTR record works. PTR records aren’t part of a forward zone (e.g. example.com) so it’s misleading that it presents it as such, I think. Though, I think I get what it’s trying to do, I’m worried it’s gonna lead people to think you can have a different one for every zone on one IP, which isn’t possible.
I’m going to have to poke around. Maybe @Ilia or @Jamie has insight on what this is expecting here. To me, this form doesn’t actually make sense, so I’m kinda guessing.
There is an odd case in which a PTR record can be in a forward zone, if your ISP or hosting compare creates a CNAME in a reverse zone pointing to it. This is a super-rare case though that you almost certainly don’t want to use…
I thought you told me about it years ago actually!
That said, I think there’s no good reason to include PTR records in the list of types that can be created in Virtualmin’s DNS Records page, because this is a super-obscure use case that probably just confuses people.
lol. That’s possible. I have forgotten far more than I remember about just about everything. DNS is something I mostly have forgotten since I no longer maintain any serious DNS servers.