https://github.com/cbodden/dh-dyndns
dreamhost dynamic dns script in bash
https://github.com/cbodden/dh-dyndns
Last synced: 2 months ago
JSON representation
dreamhost dynamic dns script in bash
- Host: GitHub
- URL: https://github.com/cbodden/dh-dyndns
- Owner: cbodden
- Created: 2013-05-10T22:49:13.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-11-14T15:39:01.000Z (over 12 years ago)
- Last Synced: 2025-02-24T13:48:54.989Z (over 1 year ago)
- Language: Shell
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dh-dyndns
====
This script uses your dreamhost api key (assuming it has dns access), to
either check, delete, list, or update your ip address for a given record
in dreamhost. Makes dynamic dns possible with dreamhost except for the
four hour time to live (ttl). If you need a faster dynamic dns service,
try DynDNS.
Usage
----
Usage : dh-dyndns [option] <value> <action>
Options:
-h | --help | help shows this message
-d | --domain | domain domain which will be used (ex.: foo.bar.baz)
-k | --key | key dreamhost api key
-o | --option | option actions to perform. listed below
Actions:
check this checks whether existing ip is same as new.
delete this will delete record.
exist this will show you the existing ip address in record.
list shows you existing record according to domain.
new this will show you the new ip.
update this performs update of ip address according to whatever is
grabbed by check in script.
Sample Usage:
update record: dh-dyndns -k ################ -d foo.bar.baz -o update
check record : dh-dyndns -k ################ -d foo.bar.baz -o check
update record: dh-dyndns -k ################ -d foo.bar.baz -o update
help : dh-dyndns -h
Requirements
----
- Wget (http://www.gnu.org/software/wget/)
- Bash (http://tiswww.case.edu/php/chet/bash/bashtop.html)
Todo
----
License and Author
----
Author:: Cesar Bodden (cesar@pissedoffadmins.com)
Copyright:: 2013, Pissedoffadmins.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .