mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Fix NAPTR record support.
This commit is contained in:
@@ -14,7 +14,8 @@ func (rc *RecordConfig) SetTargetNAPTR(order uint16, preference uint16, flags st
|
||||
rc.NaptrFlags = flags
|
||||
rc.NaptrService = service
|
||||
rc.NaptrRegexp = regexp
|
||||
rc.NaptrReplacement = target
|
||||
rc.SetTarget(target)
|
||||
|
||||
if rc.Type == "" {
|
||||
rc.Type = "NAPTR"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user