diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-04-30 23:27:11 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-04-30 23:27:11 +0200 |
commit | bd8e73aad283611c096f07e0fc16aa4985f9f2eb (patch) | |
tree | 9ce9d9d41387a62dd4cc3b88669a991244d7b8b7 /src/dns.h | |
parent | ba7c93085b419d1453dfb722b570245c4a725c83 (diff) | |
download | dns-bd8e73aad283611c096f07e0fc16aa4985f9f2eb.tar.gz |
implemented database
Diffstat (limited to 'src/dns.h')
-rw-r--r-- | src/dns.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -35,7 +35,7 @@ enum dns_record { //Record Classes #define CL_IN 1 //Internet -#define CL_CS 2 //CSNET (Onsolete) +#define CL_CS 2 //CSNET (Obsolete) #define CL_CH 3 //CHAOS #define CL_HS 4 //Hesiod enum dns_record_class { @@ -46,9 +46,9 @@ enum dns_record_class { }; //OPCODES -#define OP_Q 0 //Query -#define OP_IQ 1 //Inverse Query -#define OP_STAT 2 //Status request +#define OP_QUERY 0 //Query +#define OP_IQUERY 1 //Inverse Query +#define OP_STATUS 2 //Status request enum dns_opcode { QUERY = 0, INVERSE = 1, @@ -60,7 +60,7 @@ enum dns_opcode { #define RCODE_FORMAT 1 #define RCODE_SERVFAIL 2 #define RCODE_NAMEERR 3 -#define RCODE_NI 4 //Not implemented +#define RCODE_NOTIMPL 4 //Not implemented #define RCODE_REFUSED 5 enum dns_responsecode { NOERR = 0, |