mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DNSIMPLE: support NAPTR (#671)
Fix the model to strip quotes from all the string parts; BIND integration tests still pass. DNSIMPLE integration tests pass.
This commit is contained in:
@@ -44,5 +44,5 @@ func (rc *RecordConfig) SetTargetNAPTRString(s string) error {
|
||||
if len(part) != 6 {
|
||||
return fmt.Errorf("NAPTR value does not contain 6 fields: (%#v)", s)
|
||||
}
|
||||
return rc.SetTargetNAPTRStrings(part[0], part[1], part[2], part[3], part[4], StripQuotes(part[5]))
|
||||
return rc.SetTargetNAPTRStrings(part[0], part[1], StripQuotes(part[2]), StripQuotes(part[3]), StripQuotes(part[4]), StripQuotes(part[5]))
|
||||
}
|
||||
|
Reference in New Issue
Block a user