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
commit46f58f7651ba3980aab9d9b6f61e86bec9ce732a (patch)
tree21221d29f340657848719419d227914dc69efeba /nsupdate.go
parent2800b23f81cdc03978df3a75b121dec4ed732aa0 (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 {