Skip to content

Simple tool in GOlang to automatically update A-entries at deSEC.io.

License

Notifications You must be signed in to change notification settings

notDG/deSECupdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deSECupdater

Simple tool written in GO.

About

The project's idea is to automatically update the A-entries for a specific domain at deSEC.io.

Main use case is in environments with changing IP addresses. This way a domain will always point to the right IPv4 address (as long as the execution of this tool is automated). The IPv4 address is automatically pulled from the public API ipify.

Developed according to deSEC's API documentation.

Parameters

Parameter Expected Input
domain The domain you want to change (e.g. "domain.one")
subdomain The subdomain under the main domain you want to change (e.g. "mysubdomain")
token The access token you get from deSEC under "Token Management" (is 28 chars long)
ip The IPv4 address to use, if not used the script will determine the WAN's IPv4 address automatically via ipify.

Example usage

Update a subdomain with a defined IP address:

updater.exe -domain "domain.one" -subdomain "mail" -token "XXXXXXXXXXXXXXXXXXXXXXXXXXXX" -ip "123.123.123.123"

Update a domain with the WAN IP where the application is executed:

updater.exe -domain "domain.one" -token "XXXXXXXXXXXXXXXXXXXXXXXXXXXX"

About

Simple tool in GOlang to automatically update A-entries at deSEC.io.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages