sdns
low-level DNS library
Loading...
Searching...
No Matches
Public Attributes | List of all members
sdns_opt_ttl Struct Reference

#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)
 

Detailed Description

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                           |
    +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

The documentation for this struct was generated from the following file: