|
sdns
low-level DNS library
|
#include <sdns.h>
Public Attributes | |
| uint32_t | extended_rcode:8 |
| extended response code | |
| uint32_t | version:8 |
| version of the edns (it's zero) | |
| uint32_t | DO:1 |
| DNSSEC OK bit. | |
| uint32_t | Z:15 |
| Reserved (must be zero always) | |
TTL option in OPT type of the RR has the following structure based on RFC2671 Section 4.6:
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0: | EXTENDED-RCODE | VERSION |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
2: |DO | Z |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+