unbound 0.1
Data Fields
delegpt_ns Struct Reference

Nameservers for a delegation point. More...

#include <iter_delegpt.h>

Data Fields

struct delegpt_nsnext
 next in list
uint8_t * name
 name of nameserver
size_t namelen
 length of name
int resolved
 If the name has been resolved.
uint8_t got4
 if the ipv4 address is in the delegpt
uint8_t got6
 if the ipv6 address is in the delegpt
uint8_t lame
 If the name is parent-side only and thus dispreferred.
uint8_t done_pside4
 if the parent-side ipv4 address has been looked up (last resort).
uint8_t done_pside6
 if the parent-side ipv6 address has been looked up (last resort).

Detailed Description

Nameservers for a delegation point.


Field Documentation

If the name has been resolved.

false if not queried for yet. true if the A, AAAA queries have been generated. marked true if those queries fail. and marked true if got4 and got6 are both true.

Referenced by delegpt_add_neg_msg(), delegpt_add_ns(), delegpt_add_target(), delegpt_copy(), delegpt_count_missing_targets(), delegpt_count_ns(), delegpt_log(), delegpt_no_ipv6(), error_supers(), iter_dp_is_useless(), iter_mark_cycle_targets(), processTargetResponse(), and query_for_targets().

If the name is parent-side only and thus dispreferred.

Its addresses become dispreferred as well

Referenced by cache_fill_missing(), delegpt_add_ns(), delegpt_copy(), delegpt_log(), and processTargetResponse().

if the parent-side ipv4 address has been looked up (last resort).

Also enabled if a parent-side cache entry exists, or a parent-side negative-cache entry exists.

Referenced by delegpt_add_ns(), delegpt_copy(), delegpt_log(), iter_lookup_parent_glue_from_cache(), iter_mark_pside_cycle_targets(), and processLastResort().

if the parent-side ipv6 address has been looked up (last resort).

Also enabled if a parent-side cache entry exists, or a parent-side negative-cache entry exists.

Referenced by delegpt_add_ns(), delegpt_copy(), delegpt_log(), iter_lookup_parent_glue_from_cache(), iter_mark_pside_cycle_targets(), and processLastResort().


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