DNS Zones Fixed :D

March 9th | | Uncategorized | Tags: None

As afew of you might know, i’ve set up 2 cameras.
1: www.eq008.joeylau.com
2: www.eq021.joeylau.com

Unfortunately, EQ008 is hosted by a dynamic IP, which makes it very time consuming to login to cPanel/WHM to update the IP’s

I’ve attempted to make a PHP page which will pretend to be the DNS page and submit the new IP to the server, but it looks harder to break than a normal form.
I uploaded the javascript here: http://pastebin.com/AK1fg9hw

After reading several websites, it appears that cPanel/WHM have a API, which i have access to.

After reading the documentation at, it only took me afew minutes to intergrate it Open-mouthed smile
API Manual: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/XmlApi

So, if anyone views the page i coded, it’ll set the DNS zone to the viewer’s IP
Which will allow me to view EQ008 no matter what IP it uses Open-mouthed smile

Leave a Reply

%d bloggers like this: