From f0026b8073c6b2daef68faec219e4bbdc0df5672 Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Mon, 30 Aug 2021 00:35:25 +0100 Subject: [PATCH] Revert "INWX: fix apex domains (#1221)" (#1242) This reverts commit f63302b978055571ad6898a61ce4d0cb3a4d8017. --- providers/inwx/inwxProvider.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/providers/inwx/inwxProvider.go b/providers/inwx/inwxProvider.go index fc9924637..d007fd608 100644 --- a/providers/inwx/inwxProvider.go +++ b/providers/inwx/inwxProvider.go @@ -161,16 +161,11 @@ func newInwxDsp(m map[string]string, metadata json.RawMessage) (providers.DNSSer func makeNameserverRecordRequest(domain string, rec *models.RecordConfig) *goinwx.NameserverRecordRequest { content := rec.GetTargetField() - name := rec.GetLabel() - if name == "@" { - name = "" - } - req := &goinwx.NameserverRecordRequest{ Domain: domain, Type: rec.Type, Content: content, - Name: name, + Name: rec.GetLabel(), TTL: int(rec.TTL), } @@ -304,9 +299,6 @@ func (api *inwxAPI) GetZoneRecords(domain string) (models.Records, error) { var records = []*models.RecordConfig{} for _, record := range info.Records { - if record.Name == "" { - record.Name = "@" - } if record.Type == "SOA" { continue }