Skip to content

Commit

Permalink
HOSTINGDE: Fix zone creation (fixes StackExchange#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannik committed Apr 25, 2023
1 parent 61559f6 commit 298bdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/hostingde/hostingdeProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/StackExchange/dnscontrol/v3/providers"
)

var defaultNameservers = []string{"ns1.hosting.de.", "ns2.hosting.de.", "ns3.hosting.de."}
var defaultNameservers = []string{"ns1.hosting.de", "ns2.hosting.de", "ns3.hosting.de"}

var features = providers.DocumentationNotes{
providers.CanAutoDNSSEC: providers.Can(),
Expand Down Expand Up @@ -90,7 +90,7 @@ func newHostingdeReg(m map[string]string) (providers.Registrar, error) {
}

func (hp *hostingdeProvider) GetNameservers(domain string) ([]*models.Nameserver, error) {
return models.ToNameserversStripTD(hp.nameservers)
return models.ToNameservers(hp.nameservers)
}

func (hp *hostingdeProvider) GetZoneRecords(domain string) (models.Records, error) {
Expand Down

0 comments on commit 298bdc5

Please sign in to comment.