mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-25 08:02:58 +08:00
Fix Punycode PTR
This commit is contained in:
parent
2cbabd859b
commit
70c9e529f7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue