5Jun/0810
dnsEditor: Ajaxified Update
Thanks to Quintin at junkmail.co.za, dnsEditor now supports Batch adding of zones, zone defaults, and some extra configuration options.
Changes:
- Now has "Click to Edit" instead of empty fields
- Configuration option to hide the "update servers" button
- Batch add zones
- Zone field defaults, for multiple or single A, MX, CNAME, TXT, etc records to be created automatically in a new zone
Demo:
http://www.lokkju.com/projects/dnsEditor2/dnsEditor.php
Source:
http://svn.lokkju.com/svn/dnsEditor/trunk

February 24th, 2010 - 20:32
Is this project one of the things you’ll be making available again?
March 24th, 2010 - 10:11
It is still available at http://svn.lokkju.com/svn/
March 30th, 2010 - 14:52
What are the system requirements for this application for the ajax pieces to work? I have installed this on my webserver, populated a database with some IP information (bind is working great under this schema), but I cannot get the web interface to work. There is very little documentation for the tool, although it looks very cool! I’d really like to see it working. The link for the demo is also broken. Is there a way to see a working demo?
Thanks in advance and thanks for the cool tool!
March 30th, 2010 - 15:00
Perhaps it’s because there is something missing in the svn trunk. Looking at the apache logs, multiple errors are mentioned for files that do not exist:
loadersmall.gif
loader.gif
perhaps I used the wrong command, but I used the following:
svn co http://svn.lokkju.com/svn/dnsEditor/trunk dnseditor
to obtain the SVN trunk. Also, upon browsing the trunk, I see no files for loader.gif or loadersmall.gif.
Perhaps there is more code, and we’re missing some stuff?
I can see all my zones on the webpage with a red circled “x” next to each of them, but clicking on them does nothing.
I also get the following shown on the page:
Updating…’;x_updateServers(”,updateServers_cb);” onmouseover=”bgSwitch(‘on’, this, ‘Syncronize all DNS Servers’);” onmouseout=”bgSwitch(‘off’, this,
Perhaps there’s something missing in the code, or perhaps something I am missing in the requirements for this to work?
Again, I hope this helps in troubleshooting – thanks again for the awesome ap. I hope we can get it working again soon.
April 24th, 2010 - 08:38
Nick – I have a newish version based on this rev that is now using the Pear MDB2 class so it’s db agnostic. I fixed the loadersmall.gif and loader.gif that is mentioned in the previous post.
Previous poster: Are you using IE to access the app?
April 29th, 2010 - 10:46
Drew, post a patch up on the google code project site.
March 8th, 2011 - 17:14
Hi wow I am sorry I haven’t checked this page in a while!
I am >NOT< using IE to access the page. I was using seamonkey (mozilla successor; think of it as a firefox variant).
So where is the patch and/or this latest version that was mentioned? I was just getting some time to work on something today, and since I haven't looked at this in a while I wondered if perhaps there's a fix for this yet. It appears that there was a google code project site for this? Is there a link or a way I might get access to it?
Also, I cannot seem to access the SVN trunk any more. It asks for authentication. I tried guest/guest but that was unsuccessful. Is the SVN no longer available?
By the way, the DLZ schema for this is still working wonderfully. Thank you kindly for this wonderful work.
March 8th, 2011 - 18:10
Well I did find the SVN on the google code website and checked it out. I checked out revision #21. But I still have the same problem.
For fun, I did try IE also, but I see the exact same result. I have my zones shown on the left, red “X”‘s next to each zone, and a larger window in the center that instructs, “Select a zone”
Upon hovering a mouse over a zone, or over one of the red X’s on the left, the mouse cursor does change as if it were a link, but when you click it, nothing happens and nothing changes in the main window – it still says “select a zone.”
Is this a PHP problem, or a javascript problem? This is why I asked for the system requirements in my initial posting.
So what are the system requirements? What is supposed to be installed or needed as dependencies in order for this application to work?
Perhaps there is a module or something in apache that should be enabled or something else that I am unable to adjust because there isn’t a real document explaining the dependencies or prerequisite requirements for this application.
Concluding here, I have tried the following:
Seamonkey 2.0.12
Firefox 3.6.15
Konqueror “Release 2″ from KDE v.4.4.4
And…
IE8
All of the different browsers produce the same result – an unusable interface, except for the ability to view the zone list on the left and filter the zone list on the left (the filtering is the only thing that seems to work at all). This leads me to believe that I have done something very wrong on the server side, but because there are no specifics or dependencies, I don’t know what to do to correct it.
Again, thank you so much for this exciting work!
March 10th, 2011 - 09:20
So, when you click a zone, it should populate the right hand pane. There are no special requirements – just php, and whatever your backend database is, essentially.
Have you edited config.php.example, and renamed it config.php? I know I don’t explicitly say to do this anywhere, but it is a common step in most php apps.
Other then that, all I can suggest is to look at your php and javascript logs.
April 5th, 2011 - 16:53
Thank you kindly for writing back. Yes, I certainly edited the config.php (I would have had to do this in order to see my zones).
When I click the zones on the left, nothing happens. The right pane still has the text “select a zone”.
It’s funny, because I am running plenty of php aps on this server, and have no issues, so I am thinking that my PHP should be good. I am running it with suhosin though. MyPHPadmin works great on the box, so I really doubt that this is a PHP problem, unless I am missing something from php (that’s why I wondering if there was any specific requirement).
You’re right – that was the next thing I was going to do was check the logs. I did look at them but then didn’t go any further with any debugging or anything extensive.
Again, many thanks for your help.