In Loki We Trust The many projects of Lokkju, Inc

toursite-map
30May/063

dnsEditor:Ajaxified Subversion Access

The source code for the dnsEditor:Ajaxified is now available. you can get it anonymously at:

https://svn.lokkju.com/svn/dnsEditor/trunk

Yes, it is ugly, but it *does* work.
All of the code is released under GPL, and other licenses are open to negotiation.
I will be commenting more code and cleaning it up as time goes by, and patches are always welcome - if you really want to help, I can also give you subversion access.

And donations are always welcome as well (see that little button on the side? it is there for a purpose...) *grin*.

Have fun...

Filed under: Projects Leave a comment
Comments (3) Trackbacks (0)
  1. Hey, this is a nice frontend.

    but can you paste your DLZ conf and database structure prehaps ?

    Greets

  2. Argreed with Emil Palm, because when i use this it give me errors.

  3. It is there: https://svn.lokkju.com/svn/dnsEditor/trunk/docs/schema.sql

    Alternatively, you may use the schema that is included with bind9-dlz package and it should work nicely (. Additionaly, for AXFR transfers you can create a table xfr_table (zone TEXT, client TEXT) and AXFR should work too. Then use the following in named.conf:

    dlz “Mysql zone” {
    database “mysql
    {host=127.0.0.1 port=3306 dbname=dns user=dns pass=ashesudns ssl=false}
    {select zone from dns_records where zone = ‘%zone%’}
    {select ttl, type, mx_priority, case when lower(type)=’txt’ then concat(‘\”‘
    , data, ‘\”‘)
    when lower(type) = ‘soa’ then concat_ws(‘ ‘, data, resp_person, serial,
    refresh, retry, expire, minimum)
    else data end from dns_records where zone = ‘%zone%’ and host = ‘%record
    %’}
    {}
    {select ttl, type, host, mx_priority, case when lower(type)=’txt’ then
    concat(‘\”‘, data, ‘\”‘) else data end, resp_person, serial, refresh, re
    try, expire,
    minimum from dns_records where zone = ‘%zone%’}
    {select zone from xfr_table where zone = ‘%zone%’ and client = ‘%client%’}”;
    };


Leave a comment


profile

No trackbacks yet.

mail
about