This commit is contained in:
Tom Limoncelli 2021-05-04 14:15:31 -04:00 committed by GitHub
parent 68dee3a8c5
commit 8d139d182f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 41 additions and 42 deletions

View file

@ -186,7 +186,6 @@ func GetZone(args GetZoneArgs) error {
zoneRecs[i] = recs zoneRecs[i] = recs
} }
// Write the heading: // Write the heading:
if args.OutputFormat == "js" || args.OutputFormat == "djs" { if args.OutputFormat == "js" || args.OutputFormat == "djs" {

View file

@ -326,7 +326,7 @@ func (c *hednsProvider) GetZoneRecords(domain string) (models.Records, error) {
err = rc.SetTarget(data) err = rc.SetTarget(data)
case "MX": case "MX":
// dns.he.net omits the trailing "." on the hostnames for MX records // dns.he.net omits the trailing "." on the hostnames for MX records
err = rc.SetTargetMX(uint16(priority), data + ".") err = rc.SetTargetMX(uint16(priority), data+".")
case "SRV": case "SRV":
err = rc.SetTargetSRVPriorityString(uint16(priority), data) err = rc.SetTargetSRVPriorityString(uint16(priority), data)
case "SPF": case "SPF":