diff --git a/commands/getZones.go b/commands/getZones.go index 73e16882a..0772eb2d8 100644 --- a/commands/getZones.go +++ b/commands/getZones.go @@ -209,7 +209,7 @@ func formatDsl(zonename string, rec *models.RecordConfig, defaultTTL uint32) str case "NS": // NS records at the apex should be NAMESERVER() records. if rec.Name == "@" { - return fmt.Sprintf(",\n\tNAMESERVER('%s'%s)", target, ttlop) + return fmt.Sprintf(",\n\tNAMESERVER('%s')", target) } default: target = "'" + target + "'"