summaryrefslogtreecommitdiff
path: root/nsupdate.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 01:41:33 -0600
committerJeff Carr <[email protected]>2024-01-06 01:41:33 -0600
commitca3a01f478aa60fb039892d2cae6823188b5842c (patch)
tree55e13fa31e58b6d1bdb1fc298200ccc458a9df5c /nsupdate.go
parent2d1e3213261bee4640c11d8e1f526fcb6234e037 (diff)
make new resolverStatus()
also fix dns-https Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nsupdate.go')
-rw-r--r--nsupdate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsupdate.go b/nsupdate.go
index d86178f..2757b75 100644
--- a/nsupdate.go
+++ b/nsupdate.go
@@ -22,7 +22,7 @@ func nsupdate() {
cmd := "go-nsupdate --tsig-algorithm=hmac-sha512"
tsigSecret = os.Getenv("TIG_SECRET")
cmd += " --tig-secret=\"" + tsigSecret + "\""
- cmd += " -i wlo1 " + me.hostname
+ cmd += " -i wlo1 " + me.status.GetHostname()
log.Log(NET, "nsupdate() RUN:", cmd)
for s, t := range me.ipmap {