Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dnsdefs.h File Reference

DNS definitions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CLASS_CH   3
#define CLASS_CS   2
#define CLASS_HS   4
#define CLASS_IN   1
#define DNS_TYPE_A   1
#define DNS_TYPE_A6   38
#define DNS_TYPE_AAAA   28
#define DNS_TYPE_AFSDB   18
#define DNS_TYPE_CNAME   5
#define DNS_TYPE_DNAME   39
#define DNS_TYPE_HINFO   13
#define DNS_TYPE_LOC   29
#define DNS_TYPE_MB   7
#define DNS_TYPE_MD   3
#define DNS_TYPE_MF   4
#define DNS_TYPE_MG   8
#define DNS_TYPE_MINFO   14
#define DNS_TYPE_MR   9
#define DNS_TYPE_MX   15
#define DNS_TYPE_NAPTR   35
#define DNS_TYPE_NS   2
#define DNS_TYPE_NULL   10
#define DNS_TYPE_PTR   12
#define DNS_TYPE_PX   26
#define DNS_TYPE_RP   17
#define DNS_TYPE_SOA   6
#define DNS_TYPE_SRV   33
#define DNS_TYPE_TSIG   250
#define DNS_TYPE_TXT   16
#define DNS_TYPE_WKS   11
#define OPCODE_COMPLETION   3
#define OPCODE_IQUERY   1
#define OPCODE_NOTIFY   4
#define OPCODE_QUERY   0
#define OPCODE_STATUS   2
#define OPCODE_UPDATE   5
#define QCLASS_ALL   255
#define QCLASS_ANY   255
#define QCLASS_NONE   254
#define QTYPE_ALL   255
#define QTYPE_ANY   255
#define QTYPE_AXFR   252
#define QTYPE_IXFR   251
#define QTYPE_MAILA   254
#define QTYPE_MAILB   253
#define QTYPE_NONE   0
#define RCODE_BADKEY   17
#define RCODE_BADSIG   16
#define RCODE_BADTIME   18
#define RCODE_NOERROR   0
#define RCODE_NOTAUTH   9
#define RCODE_NOTIMP   4
#define RCODE_NOTZONE   10
#define RCODE_NXDOMAIN   3
#define RCODE_NXRRSET   8
#define RCODE_QUERYERR   1
#define RCODE_REFUSED   5
#define RCODE_SERVFAIL   2
#define RCODE_SRVFAIL   2
#define RCODE_YXDOMAIN   6
#define RCODE_YXRRSET   7

Detailed Description

DNS definitions.

This file contains #defines for the various RR types, QTYPEs, RCODEs, OPCODEs and such, as mostly defined in RFC 1035.

Macro Definition Documentation

#define CLASS_CH   3

Chaos class

#define CLASS_CS   2

CSNET class

#define CLASS_HS   4

Hesiod class

#define CLASS_IN   1

Internet class

#define DNS_TYPE_A   1

IPv4 address RR type

#define DNS_TYPE_A6   38

Prefixed IPv6 address (experimental)

#define DNS_TYPE_AAAA   28

IPv6 address RR type

#define DNS_TYPE_AFSDB   18

Andrew File System Database RR type

#define DNS_TYPE_CNAME   5

Canonical Name RR type

#define DNS_TYPE_DNAME   39

Sub-canonical Domain Name RR type (experimental)

#define DNS_TYPE_HINFO   13

Host Info RR type

#define DNS_TYPE_LOC   29

LOC (location) RR type

#define DNS_TYPE_MB   7

Mail Box RR type (experimental)

#define DNS_TYPE_MD   3

Mail Domain RR type (deprecated)

#define DNS_TYPE_MF   4

Mail Forwarder RR type (deprecated)

#define DNS_TYPE_MG   8

Mail Group RR type (experimental)

#define DNS_TYPE_MINFO   14

Mailbox Info RR type

#define DNS_TYPE_MR   9

Mail Rename RR type (experimental)

#define DNS_TYPE_MX   15

Mail eXchanger RR type

#define DNS_TYPE_NAPTR   35

Naming Authority Pointer RR type

#define DNS_TYPE_NS   2

Nameserver RR type

#define DNS_TYPE_NULL   10

NULL RR type (experimental)

#define DNS_TYPE_PTR   12

Pointer RR type

#define DNS_TYPE_PX   26

DNS X.400 Mail Mapping Information RR type

#define DNS_TYPE_RP   17

Responsible Person RR type

#define DNS_TYPE_SOA   6

Start of Authority RR type

#define DNS_TYPE_SRV   33

Services RR type

#define DNS_TYPE_TSIG   250

Secure Key Transaction Authentication (RFC 2845)

#define DNS_TYPE_TXT   16

Text RR type

#define DNS_TYPE_WKS   11

Well-Known Services RR type

#define OPCODE_COMPLETION   3

Completion query (deprecated)

#define OPCODE_IQUERY   1

Inverse query (deprecated)

#define OPCODE_NOTIFY   4

Notification message

#define OPCODE_QUERY   0

Normal query

#define OPCODE_STATUS   2

Status request

#define OPCODE_UPDATE   5

DNS update message

#define QCLASS_ALL   255

All classes

#define QCLASS_ANY   255

Any class

#define QCLASS_NONE   254

No class (for DNS update)

#define QTYPE_ALL   255

All RR types QTYPE

#define QTYPE_ANY   255

All RR types QTYPE

#define QTYPE_AXFR   252

Complete Zone Transfer QTYPE

#define QTYPE_IXFR   251

Incremental Zone Transfer QTYPE

#define QTYPE_MAILA   254

Mail agent RRs QTYPE (deprecated)

#define QTYPE_MAILB   253

Mailbox-related RRs QTYPE (experimental)

#define QTYPE_NONE   0

No RR (DNS update)

#define RCODE_BADKEY   17

Bad key

#define RCODE_BADSIG   16

Bad signature

#define RCODE_BADTIME   18

Bad sign time

#define RCODE_NOERROR   0

No error

#define RCODE_NOTAUTH   9

Not authoritative when required

#define RCODE_NOTIMP   4

Feature not implemented

#define RCODE_NOTZONE   10

Domain name not in zone

#define RCODE_NXDOMAIN   3

Domain name doesn't exist

#define RCODE_NXRRSET   8

RRset doesn't exist (DNS Update)

#define RCODE_QUERYERR   1

Error in query

#define RCODE_REFUSED   5

Action refused

#define RCODE_SERVFAIL   2

Server failure

#define RCODE_SRVFAIL   2

Server failure

#define RCODE_YXDOMAIN   6

Domain name should'nt exist (DNS Update)

#define RCODE_YXRRSET   7

RRset shouldn't exist (DNS Update)