// Various Linux/Unix'y things // https://wiki.archlinux.org/title/Dynamic_DNS package main import ( // "os" // "os/exec" "net" // "git.wit.org/wit/gui" // "github.com/davecgh/go-spew/spew" ) /* Check a bunch of things. If they don't work right, then things are not correctly configured They are things like: /etc/hosts hostname hostname -f domainname */ func (h *Host) verifyETC() bool { return true } func (h *Host) updateIPs(host string) { ips, err := net.LookupIP(host) if err != nil { exit(err) } for _, ip := range ips { log(host, ip) } }