spcomb / go-nsupdate Goto Github PK
View Code? Open in Web Editor NEWUpdate dynamic DNS records from netlink
License: MIT License
Update dynamic DNS records from netlink
License: MIT License
DHCPv6 seems prone to configuring a /128 addr on an interface with no associated IPv6 default route. Those should not be registered as an externally reachable address..
Given, "routable" is a broad concept, but start from somewhere.
For a laptop with both LAN + WLAN + WWAN etc, use the addresses configured on the interface that matches the default route.
Use go.mod
for reproducible dependencies.
I'm a bit confused because the "Wiki" tab is there but it redirects to the main project page. Could you have a look to activate it? I'd like to contribute a wiki page "How to use go-nsupdate in a systemd service" :)
I've noticed a glitch using --interface-family=ipv6
: It can happen that a IPv4 address is used for the update.
I have go-nsupdate running using --watch
:
/usr/local/bin/go-nsupdate \
--tsig-algorithm=hmac-sha512 --tsig-name=bims.dyn.bl0rg.net \
--interface=eth0 --interface-family=ipv6 --watch bims.dyn.bl0rg.net
Among the IPv6 addresses there was once an IPv4 address used for the nsupdate:
...
Jun 20 11:19:50 bims go-nsupdate[342693]: 2022/06/20 11:19:50 AddrSet iface=eth0: up 2a02:8109:9e40:3f61:11:32ff:fe23:913f
Jun 20 11:19:50 bims go-nsupdate[342693]: 2022/06/20 11:19:50 addrs update...
Jun 20 11:19:50 bims go-nsupdate[342693]: 2022/06/20 11:19:50 update...
Jun 20 11:19:50 bims go-nsupdate[342693]: 2022/06/20 11:19:50 update query...
Jun 20 11:19:50 bims go-nsupdate[342693]: 2022/06/20 11:19:50 update answer
Jun 20 11:20:21 bims go-nsupdate[342693]: 2022/06/20 11:20:21 AddrSet iface=eth0: up 192.168.144.3
Jun 20 11:20:21 bims go-nsupdate[342693]: 2022/06/20 11:20:21 addrs update...
Jun 20 11:20:21 bims go-nsupdate[342693]: 2022/06/20 11:20:21 update...
Jun 20 11:20:21 bims go-nsupdate[342693]: 2022/06/20 11:20:21 update query...
Jun 20 11:20:22 bims go-nsupdate[342693]: 2022/06/20 11:20:22 update answer
Jun 20 11:22:04 bims go-nsupdate[342693]: 2022/06/20 11:22:04 AddrSet iface=eth0: up 2a02:8109:9e40:3f61:11:32ff:fe23:913f
...
@SpComb Any idea how this could happen?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.