mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
namesurfer: fix updateDNSHost (#2854)
This commit is contained in:
parent
2e095b95a5
commit
c06f378f0e
2 changed files with 10 additions and 5 deletions
|
|
@ -12,6 +12,11 @@
|
|||
"data": "ADw2sEd82DUgXcQ9hNBZThJs7zVJkR5v9JeSbAb9mZY",
|
||||
"ttl": 300
|
||||
},
|
||||
{}
|
||||
{
|
||||
"name": "",
|
||||
"type": "",
|
||||
"data": "",
|
||||
"ttl": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue