1
0
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:
Tom Limoncelli
2017-08-04 15:35:55 -04:00
parent 2cbabd859b
commit 70c9e529f7

View File

@@ -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