1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
This commit is contained in:
Tom Limoncelli
2021-05-04 14:15:31 -04:00
committed by GitHub
parent 68dee3a8c5
commit 8d139d182f
29 changed files with 41 additions and 42 deletions

View File

@@ -186,7 +186,6 @@ func GetZone(args GetZoneArgs) error {
zoneRecs[i] = recs
}
// Write the heading:
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)
case "MX":
// 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":
err = rc.SetTargetSRVPriorityString(uint16(priority), data)
case "SPF":