Skip to content

Dynamically set primary or backup IP for a DNS entry

License

AGPL-3.0, MIT licenses found

Licenses found

AGPL-3.0
LICENSE
MIT
LICENSE.MIT
Notifications You must be signed in to change notification settings

mclueppers/dyndns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dyndns.sh

Dynamically set primary or backup IP for a DNS entry

Examples

One primary and one secondary IP

dyndns.sh -o puppetmaster -z lab.dobrev.eu -p 10.0.0.1 -b 10.0.0.2

As long as 10.0.0.1 is reachable puppetmaster.lab.dobrev.eu is going to point to it. Else 10.0.0.2 is being used

One primary and more than one backup IP

dyndns.sh -o puppetmaster -z lab.dobrev.eu -p 10.0.0.1 -b 10.0.0.2 -b 10.0.0.3

-b can be used more than once. In that case the script will fall back to the first available backup IP.

License

This software is dual-licensed under Affero GPL and MIT License with the hope to be useful for a wider audience.

About

Dynamically set primary or backup IP for a DNS entry

Resources

License

AGPL-3.0, MIT licenses found

Licenses found

AGPL-3.0
LICENSE
MIT
LICENSE.MIT

Stars

Watchers

Forks

Packages

No packages published

Languages