Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evgeni/powerdyn
IPv4 *and* IPv6 aware dynamic DNS script for PowerDNS
https://github.com/evgeni/powerdyn
Last synced: 1 day ago
JSON representation
IPv4 *and* IPv6 aware dynamic DNS script for PowerDNS
- Host: GitHub
- URL: https://github.com/evgeni/powerdyn
- Owner: evgeni
- License: mit
- Created: 2013-03-22T06:08:10.000Z (over 11 years ago)
- Default Branch: devel
- Last Pushed: 2022-07-17T08:44:56.000Z (about 2 years ago)
- Last Synced: 2024-04-19T11:07:58.977Z (6 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 12
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.`domain` can have the special value `auto` (or be absent) to trigger autodetection of the domain.
Autodetection is implemented as stripping the first part of the FQDN passed as hostname.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
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.