[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4. Database

The default database name is `mydns', although a different name may be specified by using the `database' variable in `mydns.conf'.

The MyDNS source code always specifies each column name explicitly when it's doing queries, so go ahead and add as many custom columns to the MySQL tables that you want. For example, you could put `username' and `password' columns in the soa table if you wanted, or a comments column in the ptr table.

4.1 The soa table  The soa table stores information about zones.
4.2 The ptr table  The ptr table stores IP to FQDN mappings.
4.3 The rr table  The rr table stores all other resource records.
4.4 Optional columns  The MyDNS tables have optional columns enabling extra functionality.