1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Add NAPTR support. (#461)

* Fix NAPTR record support.
* Set NAPTR record to FQDN.
* Remove swap file and comments.
* Fix integration test.
This commit is contained in:
karlism
2019-04-17 17:57:17 +02:00
committed by Tom Limoncelli
parent 460d917774
commit 0fbaf92683
14 changed files with 253 additions and 89 deletions

View File

@@ -38,6 +38,8 @@ func (r *RecordConfig) PopulateFromString(rtype, contents, origin string) error
return r.SetTarget(contents)
case "CAA":
return r.SetTargetCAAString(contents)
case "NAPTR":
return r.SetTargetNAPTRString(contents)
case "MX":
return r.SetTargetMXString(contents)
case "SRV":