Team-Fly |
DNS on Windows 2000, 2nd Edition By Matt Larson, Cricket Liu | |
Table of Contents | |
Appendix A. DNS Message Format and Resource Records |
A (address) | (From RFC 1035, page 20) |
owner ttl class A address
localhost.movie.edu. IN A 127.0.0.1
Address type code: 1 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ ADDRESS +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A 32 bit Internet address.
CNAME (canonical name) | (From RFC 1035, page 14) |
owner ttl class CNAME canonical-dname
wh.movie.edu. IN CNAME wormhole.movie.edu.
CNAME type code: 5 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / CNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name which specifies the canonical or primary name for the owner. The owner name is an alias.
HINFO (host information) | (From RFC 1035, page 14) |
owner ttl class HINFO cpu os
grizzly.movie.edu. IN HINFO VAX-11/780 UNIX
HINFO type code: 13 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / CPU / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / OS / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A character-string which specifies the CPU type.
A character-string which specifies the operating system type.
MB (mailbox domain nameexperimental) | (From RFC 1035, page 14) |
owner ttl class MB mbox-dname
al.movie.edu. IN MB robocop.movie.edu.
MB type code: 7 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MADNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name which specifies a host which has the specified mailbox.
MD (mail destinationobsolete) |
MD has been replaced with MX.
MF (mail forwarderobsolete) |
MF has been replaced with MX.
MG (mail group memberexperimental) | (From RFC 1035, page 16) |
owner ttl class MG mgroup-dname
admin.movie.edu. IN MG al.movie.edu. IN MG ed.movie.edu. IN MG jc.movie.edu.
MG type code: 8 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MGMNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name which specifies a mailbox which is a member of the mail group specified by the domain name.
MINFO (mailbox or mail list informationexperimental) | (From RFC 1035, page 16) |
owner ttl class MINFO resp-mbox error-mbox
admin.movie.edu. IN MINFO al.movie.edu. al.movie.edu.
MINFO type code: 14 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / RMAILBX / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / EMAILBX / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name which specifies a mailbox which is responsible for the mailing list or mailbox. If this domain name names the root, the owner of the MINFO RR is responsible for itself. Note that many existing mailing lists use a mailbox X-request for the RMAILBX field of mailing list X, e.g., Msgroup-request for Msgroup. This field provides a more general mechanism.
A domain-name which specifies a mailbox which is to receive error messages related to the mailing list or mailbox specified by the owner of the MINFO RR (similar to the ERRORS-TO: field which has been proposed). If this domain name names the root, errors should be returned to the sender of the message.
MR (mail renameexperimental) | (From RFC 1035, page 17) |
owner ttl class MR new-mbox
eddie.movie.edu. IN MR eddie.bornagain.edu.
MR type code: 9 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / NEWNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name which specifies a mailbox which is the proper rename of the specified mailbox.
MX (mail exchanger ) | (From RFC 1035, page 17) |
owner ttl class MX preference exchange-dname
ora.com. IN MX 0 ora.ora.com. IN MX 10 ruby.ora.com. IN MX 10 opal.ora.com.
MX type code: 15 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ PREFERENCE +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / EXCHANGE / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A 16 bit integer which specifies the preference given to this RR among others at the same owner. Lower values are preferred.
A domain-name which specifies a host willing to act as a mail exchange for the owner name.
NS (name server) | (From RFC 1035, page 18) |
owner ttl class NS name-server-dname
movie.edu. IN NS terminator.movie.edu
NS type code: 2 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / NSDNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name which specifies a host which should be authoritative for the specified class and domain.
NULL (nullexperimental) | (From RFC 1035, page 17) |
NULL type code: 10 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / anything / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
Anything at all may be in the RDATA field so long as it is 65535 octets or less.
NULL is not implemented by BIND.
PTR (pointer) | (From RFC 1035, page 18) |
owner ttl class PTR dname
1.249.249.192.in-addr.arpa. IN PTR wormhole.movie.edu.
PTR type code: 12 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / PTRDNAME / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name which points to some location in the domain name space.
SOA (start of authority) | (From RFC 1035, pages 19-20) |
owner ttl class SOA source-dname mbox (serial refresh retry expire minimum)
movie.edu. IN SOA terminator.movie.edu. al.robocop.movie.edu. ( 1 ; Serial 10800 ; Refresh after 3 hours 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 86400 ) ; Minimum TTL of 1 day
SOA type code: 6 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / RNAME / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ SERIAL +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ REFRESH +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ RETRY +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ EXPIRE +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ MINIMUM +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
The domain-name of the name server that was the original or primary source of data for this zone.
A domain-name which specifies the mailbox of the person responsible for this zone.
The unsigned 32 bit version number of the original copy of the zone. Zone transfers preserve this value. This value wraps and should be compared using sequence space arithmetic.
A 32 bit time interval before the zone should be refreshed.
A 32 bit time interval that should elapse before a failed refresh should be retried.
A 32 bit time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.
The unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.
TXT (text) | (From RFC 1035, page 20) |
owner ttl class TXT txt-strings
cujo.movie.edu. IN TXT "Location: machine room dog house"
TXT type code: 16 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / TXT-DATA / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
One or more character-string s.
WKS (well-known services) | (From RFC 1035, page 21) |
owner ttl class WKS address protocol service-list
terminator.movie.edu. IN WKS 192.249.249.3 TCP ( telnet smtp ftp shell domain )
WKS type code: 11 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ ADDRESS +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ PROTOCOL +--+--+--+--+--+--+--+--+ / BIT MAP / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A 32 bit Internet address.
An 8 bit IP protocol number.
A variable length bit map. The bit map must be a multiple of 8 bits long.
AFSDB (Andrew File System Data Baseexperimental) |
owner ttl class AFSDB subtype hostname
fx.movie.edu. IN AFSDB 1 bladerunner.fx.movie.edu. IN AFSDB 2 bladerunner.fx.movie.edu. IN AFSDB 1 empire.fx.movie.edu. IN AFSDB 2 aliens.fx.movie.edu.
AFSDB type code: 18 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ SUBTYPE +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / HOSTNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
Subtype 1 is an AFS cell database server. Subtype 2 is a DCE authenticated name server.
A domain-name that specifies a host that has a server for the cell named by the owner of the RR.
ISDN (Integrated Services Digital Network addressexperimental) |
owner ttl class ISDN ISDN-address sa
delay.hp.com. IN ISDN 141555514539488 hep.hp.com. IN ISDN 141555514539488 004
ISDN type code: 20 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / ISDN ADDRESS / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / SUBADDRESS / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A character-string that identifies the ISDN number of owner and DDI (Direct Dial In), if any.
An optional character-string specifying the subaddress.
RP (Responsible Personexperimental) |
owner ttl class RP mbox-dname txt-dname
; The current origin is fx.movie.edu @ IN RP ajs.fx.movie.edu. ajs.fx.movie.edu. bladerunner IN RP root.fx.movie.edu. hotline.fx.movie.edu. IN RP richard.fx.movie.edu. rb.fx.movie.edu. ajs IN TXT "Arty Segue, (415) 555-3610" hotline IN TXT "Movie U. Network Hotline, (415) 555-4111" rb IN TXT "Richard Boisclair, (415) 555-9612"
RP type code: 17 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MAILBOX / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / TXTDNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A domain-name that specifies the mailbox for the responsible person.
A domain-name for which TXT RRs exist. A subsequent query can be performed to retrieve the associated TXT resource records at txt-dname .
RT (Route Throughexperimental) |
owner ttl class RT preference intermediate-host
sh.prime.com. IN RT 2 Relay.Prime.COM. IN RT 10 NET.Prime.COM.
RT type code: 21 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ PREFERENCE +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / INTERMEDIATE / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A 16 bit integer that specifies the preference given to this RR among others at the same owner. Lower values are preferred.
A domain-name that specifies a host that will serve as an intermediate in reaching the host specified by owner .
X25 (X.25 addressexperimental) |
owner ttl class X25 PSDN-address
relay.pink.com. IN X25 31105060845
X25 type code: 19 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / PSDN ADDRESS / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A character-string that identifies the PSDN (Public Switched Data Network) address in the X.121 numbering plan associated with owner .
PX (pointer to X.400/RFC 822 mapping information) |
owner ttl class PX preference RFC822 address X.400 address
ab.net2.it. IN PX 10 ab.net2.it. O-ab.PRMD-net2.ADMDb.C-it.
PX type code: 26 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ PREFERENCE +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MAP822 / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MAPX400 / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
A 16 bit integer which specifies the preference given to this RR among others at the same owner. Lower values are preferred.
A domain-name element containing rfc822-domain , the RFC 822 part of the RFC 1327 mapping information.
A domain-name element containing the value of x400-in-domain-syntax derived from the X.400 part of the RFC 1327 mapping information.
SRV (service location) |
owner ttl class SRV priority weight port target
_http._tcp.movie.edu. IN SRV 1 2 80 www.fx.movie.edu. IN SRV 1 1 8080 www1.fx.movie.edu.
SRV type code: 33 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ PRIORITY +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ WEIGHT +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ PORT +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / TARGET / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
As for MX, the priority of this target host. A client MUST attempt to contact the target host with the lowest -numbered priority it can reach; target hosts with the same priority SHOULD be tried in pseudorandom order. The range is 0-65535.
Load balancing mechanism. When selecting a target host among those that have the same priority, the chance of trying this one first SHOULD be proportional to its weight. The range of this number is 1-65535. Domain administrators are urged to use Weight 0 when there isn't any load balancing to do, to make the RR easier to read for humans (less noisy ).
The port on this target host of this service. The range is 0-65535. This is often as specified in Assigned Numbers but need not be.
As for MX, the domain name of the target host. There MUST be one or more A records for this name. Implementors are urged, but not required, to return the A record(s) in the Additional Data section. Name compression is to be used for this field. A Target of "." means that the service is decidedly not available at this domain.
(From RFC 1035, page 13)
CLASS fields appear in resource records. The following CLASS mnemonics and values are defined:
1: the Internet
2: the CSNET class (obsoleteused only for examples in some obsolete RFCs)
3: the CHAOS class
4: the Hesiod class
Team-Fly |
Top |