4.2 The ptr
table
Unlike some DNS servers, MyDNS does not have the concept of zones that are
authoritative for PTR records. Instead, this table is basically a straight
IP-to-FQDN mapping.
- `id INT UNSIGNED NOT NULL'
-
A unique number identifying this record. (Auto increment / Primary key)
- `minimum INT UNSIGNED NOT NULL default '86400''
-
The minimum TTL field that should be exported with any RR from this zone.
ex: 86400
- `ip INT UNSIGNED NOT NULL'
-
The integer IP address as returned by the MySQL `INET_ATON(expr)' function.
For example, the IP address `6.7.8.9' would be calculated as
6*256^3 + 7*256^2 + 8*256 + 9
. (Unique key)
ex: 2130706433
- `name CHAR(255) NOT NULL'
-
The FQDN associated with this IP address.
ex: foo.example.com.
- `ttl INT UNSIGNED NOT NULL default '86400''
-
The time interval that this resource record may be cached before the
source of the information should again be consulted. Zero values are
interpreted to mean that the RR can only be used for the transaction
in progress, and should not be cached.
ex: 86400