Skip to content
forked from evgeni/powerdyn

IPv4 *and* IPv6 aware dynamic DNS script for PowerDNS

License

Notifications You must be signed in to change notification settings

slankes/powerdyn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

powerdyn

Installation

Clone the git repository, there is no real installation yet.

Configuration

Edit powerdyn.conf and adjust the domain and database credentials to match your environment.

Usage

Add the following to the ~/.ssh/authorized_keys of the user:

no-agent-forwarding,no-port-forwarding,no-pty,no-X11-forwarding,no-user-rc,command="/usr/local/bin/powerdyn host.powerdyn.example.com" ssh-rsa <SOMESSHKEY>

Add the following to the crontab on the machine you want the dynamic DNS for:

*/5 * * * * ssh -4 -T -i /home/user/.ssh/powerdyn_rsa [email protected]
*/5 * * * * ssh -6 -T -i /home/user/.ssh/powerdyn_rsa [email protected]

If your IPv6 address does not change, just remove the -6 line. powerdyn won't touch the AAAA record then.

About

IPv4 *and* IPv6 aware dynamic DNS script for PowerDNS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%