I am able to create SRV records via Server Configuration => DNS Records without any problem and the record function as expected (see attached: create_dns_record-srv-20180827-01.png).
The resulting BIND record would look like this:
_sip._tcp.example.com. 3600 IN SRV 100 1 443 sipdir.online.lync.com.
But, if I attempt to edit one of those records (see attached: edit_dns_record-srv-20180827-01.png), I receive the error: "Failed to save DNS record : Record name contains invalid characters" (see attached: edit_dns_record-srv-20180827-02.png).
If, as a test, I create the following record:
_sip._tls.a.example.com. 3600 IN SRV 100 1 443 sipdir.online.lync.com.
I can edit that record without error (see attached; edit_dns_record-srv-20180827-03.png). The difference being that the first record is created at the "root" of the zone and the second is created at "a.example.com". As you can see the "Record name" on the "Edit DNS Record" page is displayed slightly different in each case.
I've tested this on three separate hosts and in each case I have experienced the same error.
Comments
Submitted by etrncom on Mon, 08/27/2018 - 12:34 Pro Licensee Comment #1
Submitted by etrncom on Tue, 08/28/2018 - 10:43 Pro Licensee Comment #2
Subscribed to notifications
Submitted by JamieCameron on Tue, 08/28/2018 - 17:06 Comment #3
Go to Servers -> BIND DNS Server -> Module Config (the gear icon), and on that page there is an option to allow use of _ in DNS records.
Submitted by etrncom on Wed, 08/29/2018 - 11:28 Pro Licensee Comment #4
Hi Jamie,
The "Allow underscores in record names?" option is already set to "yes" on my systems. So, am I correct in assuming that is not the issue here?
Submitted by JamieCameron on Wed, 08/29/2018 - 18:39 Comment #5
Ok I see what you mean now. This will be fixed in the next Virtualmin release.
Submitted by IssueBot on Thu, 10/11/2018 - 20:07 Comment #6
Automatically closed - issue fixed for 2 weeks with no activity.