mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Fix Punycode PTR
This commit is contained in:
@@ -277,7 +277,7 @@ func (dc *DomainConfig) Punycode() error {
|
||||
return err
|
||||
}
|
||||
switch rec.Type { // #rtype_variations
|
||||
case "ALIAS", "MX", "NS", "CNAME", "SRV":
|
||||
case "ALIAS", "MX", "NS", "CNAME", "PTR", "SRV":
|
||||
rec.Target, err = idna.ToASCII(rec.Target)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user