summaryrefslogtreecommitdiff
path: root/old/nsupdate.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-24 22:15:57 -0600
committerJeff Carr <[email protected]>2024-01-24 22:15:57 -0600
commitef588e8e22d59150907654026558b03753af864c (patch)
treee3621e04298b05b6ef18102b43e7c131bafa2637 /old/nsupdate.go
parent99f53dd97bfcd24f7dfc570d929faf92d01b16e3 (diff)
absolutely never directoriesv0.13.9
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'old/nsupdate.go')
-rw-r--r--old/nsupdate.go34
1 files changed, 0 insertions, 34 deletions
diff --git a/old/nsupdate.go b/old/nsupdate.go
deleted file mode 100644
index 635de4c..0000000
--- a/old/nsupdate.go
+++ /dev/null
@@ -1,34 +0,0 @@
-// inspired from:
-// https://github.com/mactsouk/opensource.com.git
-// and
-// https://coderwall.com/p/wohavg/creating-a-simple-tcp-server-in-go
-
-package main
-
-import (
-)
-
-// ./go-nsupdate \
-// --tsig-algorithm=hmac-sha512 \
-// --tsig-secret="OWh5/ZHIyaz7B8J9m9ZDqZ8448Pke0PTpkYbZmFcOf5a6rEzgmcwrG91u1BHi1/4us+mKKEobDPLw1x6sD+ZJw==" \
-// -i eno2 farm001.lab.wit.com
-
-/*
-func nsupdate() {
- var tsigSecret string
- log.Log(NET, "nsupdate() START")
- cmd := "go-nsupdate --tsig-algorithm=hmac-sha512"
- tsigSecret = os.Getenv("TIG_SECRET")
- cmd += " --tig-secret=\"" + tsigSecret + "\""
- cmd += " -i wlo1 " + me.statusOS.GetHostname()
- log.Log(NET, "nsupdate() RUN:", cmd)
-
- for s, t := range me.ipmap {
- if (t.IsReal()) {
- if (t.ipv6) {
- log.Log(NET, "nsupdate() found real AAAA =", s, "on iface", t.iface.Name)
- }
- }
- }
-}
-*/