[Pdns-users] Status of poweradmin?

Rudolph Bott rb at megabit.net
Mon Feb 4 08:40:10 UTC 2008

Roger Libiez wrote:
> I would welcome receiving a patch for the AAAA and LOC records.
> I'm not setup for IPv6 here so I'd be unable to test it even if I were 
> to add the record choice. I also have no idea how to go about validating 
> the input to keep broken data from being inserted.

IMO the easiest way to do input validation is assigning a Regex to each available record type in some general config file or wherever. Since the syntax is quite the same you can use them either for "on the fly" validation via javascript regex'es or inside your PHP scripts. You can find some examples 
in the config file inside the includes/ directory in ZoneAdmin (sf.net/projects/ZoneAdmin) - although these regex patterns still leave room for "bad" content. If someone here is up to the task you're very welcome to help us out with some code :)

> As far as LOC, I honestly had no idea such a thing even existed. I wrote 
> pdns-admin mainly for my own use but it's obviously grown legs since 
> then. Again, I'm not sure how to go about validating these records to be 
> sure junk data isn't inserted.
> I'm still looking into the CNAME error but haven't been able to come up 
> with anything to duplicate it in testing. If someone has detailed steps 
> on how to cause it I can fix it.
> Hugo van der Kooij wrote:
>> pdnsadmin seems to contain multiple bugs. The missing AAAA and LOC
>> records are minor ones that I could fix simply. But the error about a
>> CNAME conflict keeps bugging me.
>> I mean how can I have CNAME conflict with a MX or NS record if there is
>> just 1 record and that is said CNAME record.

Mit freundlichen Grüßen / with kind regards

Rudolph Bott
Megabit Informationstechnik GmbH
Karstr.25  41068 Moenchengladbach  Tel:02161/30898-0  Fax:-18
AG MG HRB 10141, GF: Dipl.-Ing. Thomas Tillig, Michael Benten

More information about the Pdns-users mailing list