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

Revert "INWX: fix apex domains (#1221)" (#1242)

This reverts commit f63302b978055571ad6898a61ce4d0cb3a4d8017.
This commit is contained in:
Patrik Kernstock
2021-08-30 00:35:25 +01:00
committed by GitHub
parent 0203154021
commit f0026b8073

View File

@ -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
}