namesurfer: fix updateDNSHost

This commit is contained in:
Fernandez Ludovic 2026-02-15 09:18:50 +01:00
commit da3622228f
2 changed files with 10 additions and 5 deletions

View file

@ -12,6 +12,11 @@
"data": "ADw2sEd82DUgXcQ9hNBZThJs7zVJkR5v9JeSbAb9mZY",
"ttl": 300
},
{}
{
"name": "",
"type": "",
"data": "",
"ttl": 0
}
]
}

View file

@ -9,10 +9,10 @@ import (
// DNSNode represents a DNS record.
// http://95.128.3.201:8053/API/NSService_10#DNSNode
type DNSNode struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
Data string `json:"data,omitempty"`
TTL int `json:"ttl,omitempty"`
Name string `json:"name"`
Type string `json:"type"`
Data string `json:"data"`
TTL int `json:"ttl"`
}
// DNSZone represents a DNS zone.