Running A MyDNS Name Server On OpenBSD (MySQL/PHP + MyDNS + MyDNSConfig) - Page 3

Want to support HowtoForge? Become a subscriber!
 
Submitted by zcworld (Contact Author) (Forums) on Sun, 2008-03-23 14:39. ::

Back to your putty window:

cd /root
mkdir build
cd build
wget http://mydns.bboy.net/download/mydns-1.1.0.tar.gz
tar -zxf mydns-1.1.0.tar.gz
cd mydns-1.1.0
./configure
make
make install
make conf

Please note that you might get an error during the make / compiling of it, but it's all good. While the system compiles the code for the MyDNS service, let's get the MyDNSConfig web front end set up:

Open up a second putty window and log in as root; then:

cd /var/www/
wget http://prdownloads.sourceforge.net/mydnsconfig/MyDNSConfig-1.1.0.tar.gz?download
tar -zxf MyDNSConfig-1.1.0.tar.gz
mv MyDNSConfig-1.1.0/interface htdocs/mydns

Time to edit the MyDNSConfig frontend:

jed /var/www/htdocs/mydns/lib/config.inc.php

Find line 36:   

$conf["rootpath"]

Put in /var/www/htdocs/mydns.

Line 51:

The username / password for MySQL.

In your web browser go to http://<IP>/mydns/. You will know if you got it to work because you get a login box.

Default username / password: admin/admin


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.