Discover Packages
github.com/markuslindenberg/iphook
command
module
Version:
v0.0.0-...-2bc3e5a
Opens a new window with list of versions in this module.
Published: Oct 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
iphook
This tool watches a Linux system's public IPv4 and IPv6 addresses using netlink.
When an address changes, it will make a configurable HTTP request (webhook) submitting the current IPv4 and IPv6 addresses.
It can be used to update DynDNS2 compatible dynamic dns services.
installation
Install go
`go install github.com/markuslindenberg/iphook@latest
usage
Set environment variables IPHOOK_USER
and IPHOOK_PASSWORD
for HTTP authentication
Use -url
parameter to provide your Dyndns server's update URL and optional static parameters.
Example command line: iphook -url "https://dyndns.example.com/nic/update?hostname=test.example.com"
See iphook -h
for advanced options.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.