Running A MyDNS Name Server On OpenBSD (MySQL/PHP + MyDNS + MyDNSConfig) - Page 4
|
Last step to do before your MyDNS is online and ready for to be use: You got the backend half set up; now you have to tell MyDNS to look at mydns database with the username / password we set up for it to make it work. jed /etc/mydns.conf Edit the following lines: 11 username: mydns Save the file and then issue: mydns -b to run MyDNS as a background service. To start it on boot we add this to the /etc/rc.local file: jed /etc/rc.local echo -n 'mysql' /usr/local/bin/mysqld_safe & sleep 2 echo -n 'starting mydns' /usr/local/sbin/mydns -b PLEASE NOTE: DO NOT LEAVE THE SQL ADMIN OR THE MYDNS ADMIN PAGES IN THE ROOT DOCUMENT FOLDER. BEST TO MAKE A VHOST AND PUT THEM IN THERE SO YOU LOCK DOWN THE ACCESS TO THEM VIA IP ADDDRESS OF YOUR OWN PC SO YOU CAN HAVE CONTROL ONLY. To use your MyDNS server in Windows, go to Control Panel - Network Connections - Local Area Connection -> Properties -> TCP/IP -> Properties. Use the following DNS server addresses: Preferred DNS Server: IP of your MyDNS box Then go to Start -> Run -> cmd and run: ipconfig /flushdns In the MyDNSConfig frontend, log in and add a domain. Then try to dig it: dig @localhost yourdomain.com
|



Recent comments
21 hours 12 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 22 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 12 hours ago