OVERVIEW   INDEX   DEPRECATED   HELP   CORRESPONDENCES   |
|
| Types Summary | |
|---|---|
| DNS_OPCODE | |
| DNS_RCODE | |
| DNS_TYPEValue | |
| DNS_CLASSValue | |
| DNSMessage | |
| DNS_Header | |
| DNS_Question | |
| DNS_RR | |
| DNS_PTR_RR | |
| DNS_NAPTR_RR | |
| DNS_AAAA_RR | |
| DNS_A_RR | |
| DNS_SRV_RR | |
| DNS_Questions | |
| DNS_RRs | |
| DNS_RDATAu | |
type enumerated DNS_OPCODE {
DNSOPCODE_QUERY_E(0),
DNSOPCODE_IQUERY_E(1),
DNSOPCODE_STATUS_E(2)
}
with {
variant "length=4"
}
type enumerated DNS_RCODE {
DNSRCODE_NoError_E(0),
DNSRCODE_FormatError_E(1),
DNSRCODE_ServerFailure_E(2),
DNSRCODE_NameError_E(3),
DNSRCODE_NotImplemented_E(4),
DNSRCODE_Refused_E(5)
}
with {
variant "length=4"
}
type enumerated DNS_TYPEValue {
DNSTYPE_A_E(1),
DNSTYPE_NS_E(2),
DNSTYPE_MD_E(3),
DNSTYPE_MF_E(4),
DNSTYPE_CNAME_E(5),
DNSTYPE_SOA_E(6),
DNSTYPE_MB_E(7),
DNSTYPE_MG_E(8),
DNSTYPE_MR_E(9),
DNSTYPE_NULL_E(10),
DNSTYPE_WKS_E(11),
DNSTYPE_PTR_E(12),
DNSTYPE_HINFO_E(13),
DNSTYPE_MINFO_E(14),
DNSTYPE_MX_E(15),
DNSTYPE_TXT_E(16),
DNSTYPE_AAAA_E(28),
DNSTYPE_SRV_E(33),
DNSTYPE_NAPTR_E(35),
DNSTYPE_AXFR_E(252),
DNSTYPE_MAILB_E(253),
DNSTYPE_MAILA_E(254),
DNSTYPE_ALL_E(255)
}
with {
variant "length=16"
}
type enumerated DNS_CLASSValue {
DNSCLASS_IN_E(1),
DNSCLASS_CS_E(2),
DNSCLASS_CH_E(3),
DNSCLASS_HS_E(4)
}
with {
variant "length=16"
}
type record DNSMessage {
DNS_Header dnsHeader,
DNS_Questions questions optional,
DNS_RRs answer optional,
DNS_RRs authority optional,
DNS_RRs additional optional
}
type record DNS_Header {
Oct2 id,
Bit1 qr,
DNS_OPCODE opcode,
Bit1 aa,
Bit1 tc,
Bit1 rd,
Bit1 ra,
Bit3 z,
DNS_RCODE rcode,
UInt16 qdcount,
UInt16 ancount,
UInt16 nscount,
UInt16 arcount
}
type record DNS_Question {
charstring qname,
DNS_TYPEValue qtype,
DNS_CLASSValue qclass
}
type record DNS_RR {
charstring name,
DNS_TYPEValue rrtype,
DNS_CLASSValue class,
UInt32 ttl,
UInt16 rdlength,
DNS_RDATAu rdata
}
type record DNS_PTR_RR {
charstring ptrdname
}
type record DNS_NAPTR_RR {
UInt16 order,
UInt16 preference,
charstring flags optional,
charstring services optional,
charstring dnrr_regexp optional,
charstring replacement optional
}
type record DNS_AAAA_RR {
Oct16 ipv6addr
}
type record DNS_A_RR {
Oct4 ipv4addr
}
type record DNS_SRV_RR {
UInt16 priority,
UInt16 weight,
UInt16 srvport,
charstring target
}
type record of DNS_Question DNS_Questions
type record of DNS_RR DNS_RRs
type union DNS_RDATAu {
DNS_A_RR a,
DNS_PTR_RR ptr,
DNS_NAPTR_RR naptr,
DNS_AAAA_RR aaaa,
DNS_SRV_RR srv
}