|
|
|
| ||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
php editing zone files
I was wondering if anyone got a PHP script for editing a zone file?
I allready got a web frontend with user login, so i just need something easy to edit the allready created file... Anyone got something like that? Jan |
|
#2
|
||||
|
||||
|
The technique I use in editing zone files or otherwise in perl is by having a flat-file database of records to edit, and after every change I would generate a zone file based upon that file's contents.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links: Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts |
|
#3
|
|||
|
|||
|
What I'm looking for is a script for a user, so he could add, delete og change a, cname or mx records in the zone file....
Last edited by smiled : December 1st, 2003 at 10:58 PM. |
|
#4
|
||||
|
||||
|
That's what I'm talking about too. Create a custom file format for zone records. Edit that when you want to enable a user to customize his records. Then generate a real zone file based on those contents every time he makes a change. It's easier than parsing up a master zone file.
|
|
#5
|
|||
|
|||
|
Do you have or know where I could find something that do this? I don't have a clue where to start editing a perl script for this. :/
|
|
#6
|
||||
|
||||
|
dunno. I code all my own scripts in perl only. So I have no idea how to do it in PHP and I don't know where to look. Learn PHP.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > php editing zone files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|