diff options
author | Mike Crute <mike@crute.us> | 2020-11-10 02:36:44 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-11-10 02:36:44 +0000 |
commit | 4262255f5c512e5c53a167c24a2eea2821f01ea5 (patch) | |
tree | 520c42aac11d3060161f2f12f8d999f795eeaba2 /dns/client.go | |
parent | 150abd9e30c17aa45b50de9ff178ccf3443b0b20 (diff) | |
download | go_ddns_manager-4262255f5c512e5c53a167c24a2eea2821f01ea5.tar.bz2 go_ddns_manager-4262255f5c512e5c53a167c24a2eea2821f01ea5.tar.xz go_ddns_manager-4262255f5c512e5c53a167c24a2eea2821f01ea5.zip |
Add dynamic DNS functionality
Diffstat (limited to 'dns/client.go')
-rw-r--r-- | dns/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/client.go b/dns/client.go index f322b45..525444a 100644 --- a/dns/client.go +++ b/dns/client.go | |||
@@ -46,7 +46,7 @@ func (c *DNSClient) AXFR(zone *bind.Zone) (chan *dns.Envelope, error) { | |||
46 | m.SetAxfr(zone.Name) | 46 | m.SetAxfr(zone.Name) |
47 | k.Sign(m) | 47 | k.Sign(m) |
48 | 48 | ||
49 | return t.In(m, fmt.Sprintf("%s:53", c.Server)) | 49 | return t.In(m, c.Server) |
50 | } | 50 | } |
51 | 51 | ||
52 | func (c *DNSClient) ReadRemoteZone(zone *bind.Zone) ([]RR, error) { | 52 | func (c *DNSClient) ReadRemoteZone(zone *bind.Zone) ([]RR, error) { |