This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internet:hosting:dyndns [2012/06/22 14:23] gcooper |
internet:hosting:dyndns [2012/06/23 12:07] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Dynamic DNS ====== | ====== Dynamic DNS ====== | ||
+ | |||
+ | FIXME We decided to just pay dyn.com for their services, but this info is still valid. | ||
+ | |||
+ | http:// | ||
http:// | http:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | http:// | ||
http:// | http:// | ||
Here we provide a dynamic DNS service using PowerDNS and MySQL. | Here we provide a dynamic DNS service using PowerDNS and MySQL. | ||
+ | |||
+ | You will also use two working name servers, presumably your own. | ||
===== Install on CentOS 5 ===== | ===== Install on CentOS 5 ===== | ||
Line 18: | Line 28: | ||
service mysqld start | service mysqld start | ||
mysqladmin -u root password ' | mysqladmin -u root password ' | ||
- | mysqladmin -u root -h <your-server-fqdn> password ' | + | mysqladmin -u root -h [your-server-fqdn] password ' |
</ | </ | ||
Line 27: | Line 37: | ||
</ | </ | ||
- | Now, at the MySQL prompt, we configure MySQL permissions. | + | Now, at the MySQL prompt, we configure MySQL permissions. |
+ | |||
+ | ^MySQL User ID^Purpose^ | ||
+ | |root|Master MySQL Administrator| | ||
+ | |powerdns|PowerDNS Database User| | ||
+ | |power_admin|PowerAdmin Database User (limited)| | ||
+ | |||
+ | Adjust as necessary: | ||
< | < | ||
CREATE DATABASE powerdns; | CREATE DATABASE powerdns; | ||
- | GRANT ALL ON powerdns.* TO 'power_admin' | + | GRANT ALL ON powerdns.* TO 'powerdns' |
- | GRANT ALL ON powerdns.* TO ' | + | GRANT ALL ON powerdns.* TO ' |
+ | GRANT SELECT, INSERT, UPDATE, DELETE ON powerdns.* TO ' | ||
+ | GRANT SELECT, INSERT, UPDATE, DELETE | ||
FLUSH PRIVILEGES; | FLUSH PRIVILEGES; | ||
</ | </ | ||
Line 95: | Line 114: | ||
launch=gmysql | launch=gmysql | ||
gmysql-host=127.0.0.1 | gmysql-host=127.0.0.1 | ||
- | gmysql-user=power_admin | + | gmysql-user=powerdns |
- | gmysql-password=power_admin_password | + | gmysql-password=your_powerdns_password |
gmysql-dbname=powerdns | gmysql-dbname=powerdns | ||
</ | </ | ||
Line 109: | Line 128: | ||
https:// | https:// | ||
+ | |||
+ | ==== Command Line ==== | ||
< | < | ||
Line 132: | Line 153: | ||
</ | </ | ||
- | Using a web browser, begin the web install using the FQDN or the server' | + | ==== Using a Web Browser ==== |
- | http://<your-server-fqdn>/ | + | Begin the web install using the FQDN or the server' |
+ | |||
+ | http://[your-server-fqdn]/ | ||
+ | |||
+ | ^Installation Step^Action^ | ||
+ | |Installation step 1|Choose your language| | ||
+ | |Installation step 2|Read then go to step 3| | ||
+ | |Installation step 3|Username: powerdns| | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |Installation step 4|Username: power_admin| | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |Installation step 5|Skip this step because we already set it up| | ||
+ | |Installation step 6|Read and then go to step 7| | ||
+ | |Installation step 7|Read| | ||
+ | |||
+ | ==== Finalize the Install ==== | ||
+ | |||
+ | Back at the command line: | ||
+ | |||
+ | <file> | ||
+ | rm -rf / | ||
+ | </ | ||
+ | |||
+ | ===== Using PowerDNS ===== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== 403 Error on Install URL ==== | ||
+ | |||
+ | < | ||
+ | touch / | ||
+ | reboot | ||
+ | </ |