The following is a brief overview of the elements that make up the DNS DTD.
The GANY_DNS DTD | |
GANY_DNS , FORWARD_ZONES , REVERSE_ZONES , SYSTEMS , ZONE , SYSTEM , UPDATE_ACL , QUERY_ACL , TRANSFER_ACL , NAMESERVERS , DEFAULT_MX , RECORDS , DNS , INFO , HOST , RECORD , ALIAS , NET , MX_HOST , IP , ETHER | |
GANY_DNS | |
At the very top level is the GANY_DNS element. It doesn't encode any DNS information directly, but acts as a container for the elements that do (it can be thought of as the root of the document). [Example] , [Top] | |
Parent(s) | Children |
NONE | FORWARD_ZONES , REVERSE_ZONES , SYSTEMS |
Attributes | |
|
|
FORWARD_ZONES | |
The FORWARD_ZONES element is also just a container. It holds a series of ZONE elements which hold the actual information for the forward zones. [Example] , [Top] | |
Parent(s) | Children |
GANY_DNS | ZONE |
Attributes | |
|
|
REVERSE_ZONES | |
The REVERSE_ZONES element is similar to the FORWARD_ZONES element, except that the zones it contains are reverse zones. [Example] , [Top] | |
Parent(s) | Children |
GANY_DNS | ZONE |
Attributes | |
|
|
SYSTEMS | |
The SYSTEMS element is simply a container for SYSTEM elements. [Example] , [Top] | |
Parent(s) | Children |
GANY_DNS | SYSTEM |
Attributes | |
|
|
ZONE | |
The ZONE element is the first non-trivial element. Through its attributes and child elements, it provides the means to describe both forward and reverse DNS zones. [Example] , [Top] | |
Parent(s) | Children |
FORWARD_ZONES , REVERSE_ZONES | UPDATE_ACL , QUERY_ACL , TRANSFER_ACL , NAMESERVERS , DEFAULT_MX , RECORDS |
Attributes | |
|
|
SYSTEM | |
The SYSTEM element contains the information necessary to provide the DNS data for a specific host. [Example] , [Top] | |
Parent(s) | Children |
SYSTEMS | DNS , INFO , INTERFACE |
Attributes | |
|
|
UPDATE_ACL | |
[Example] , [Top] | |
Parent(s) | Children |
ZONE | HOST , NET |
Attributes | |
|
|
QUERY_ACL | |
[Example] , [Top] | |
Parent(s) | Children |
ZONE | HOST , NET |
Attributes | |
|
|
TRANSFER_ACL | |
[Example] , [Top] | |
Parent(s) | Children |
ZONE | HOST , NET |
Attributes | |
|
|
NAMESERVERS | |
The NAMESERVERS element is used to contain the host(s) which act as the name servers for a zone. [Example] , [Top] | |
Parent(s) | Children |
ZONE | HOST |
Attributes | |
|
|
DEFAULT_MX | |
The DEFAULT_MX element is similar to NAMESERVERS but contains the host(s) which act as the mail exchangers for a zone. [Example] , [Top] | |
Parent(s) | Children |
ZONE | MX_HOST |
Attributes | |
|
|
RECORDS | |
The RECORDS element is just a container for a series of RECORD elements. [Example] , [Top] | |
Parent(s) | Children |
ZONE , DNS | RECORD |
Attributes | |
|
|
DNS | |
The DNS element is used provide DNS information about a specific system or interface. [Example] , [Top] | |
Parent(s) | Children |
SYSTEM , INTERFACE | ALIAS , MX_HOST , RECORDS |
Attributes | |
|
|
INFO | |
The INFO element stores information such as a system's type and OS that can be used to generate a HINFO resource record. All the information is provided in attributes. [Example] , [Top] | |
Parent(s) | Children |
SYSTEM | NONE |
Attributes | |
|
|
INTERFACE | |
The INTERFACE element describes a specific system interface, including IP and ethernet addresses. [Example] , [Top] | |
Parent(s) | Children |
SYSTEM | DNS , IP , ETHER |
Attributes | |
|
|
HOST | |
The HOST element contains the full name of a host (i.e. myhost.mydomain.com). [Example] , [Top] | |
Parent(s) | Children |
NAMESERVERS | NONE |
Attributes | |
|
|
RECORD | |
The RECORD element provides a means to associate arbitrary text with a ZONE or SYSTEM. It can be useful, for example, for writing out comments or glue file information to the DNS files. [Example] , [Top] | |
Parent(s) | Children |
RECORDS | NONE |
Attributes | |
|
|
ALIAS | |
The ALIAS element stores a system or interface alias. Multiple aliases can be described by using a separate ALIAS element for each one. [Example] , [Top] | |
Parent(s) | Children |
DNS | NONE |
Attributes | |
|
|
NET | |
[Example] , [Top] | |
Parent(s) | Children |
UPDATE_ACL , QUERY_ACL , TRANSFER_ACL | NONE |
Attributes | |
|
|
MX_HOST | |
The MX_HOST element contains the full name of a mail exchange host. It has one attribute, COST, which it used to encode the priority of that host in relation to other MX_HOSTs. [Example] , [Top] | |
Parent(s) | Children |
DEFAULT_MX , DNS | NONE |
Attributes | |
|
|
IP | |
The IP address of this host. [Example] , [Top] | |
Parent(s) | Children |
INTERFACE | NONE |
Attributes | |
|
|
ETHER | |
The ethernet address for this host. [Example] , [Top] | |
Parent(s) | Children |
INTERFACE | NONE |
Attributes | |
|