Unable to edit SRV DNS records - "Failed to save DNS record : Record name contains invalid characters"

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.

Status: 
Closed (fixed)

Comments

Assigned: » Unassigned

Subscribed to notifications

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.

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?

Ok I see what you mean now. This will be fixed in the next Virtualmin release.

Status: Fixed (pending) » Closed (fixed)

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