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. More...
 
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. More...
 
uint8_t done_pside4
 if the parent-side ipv4 address has been looked up (last resort). More...
 
uint8_t done_pside6
 if the parent-side ipv6 address has been looked up (last resort). More...
 

Detailed Description

Nameservers for a delegation point.

Field Documentation

◆ resolved

int delegpt_ns::resolved

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_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_count_missing_targets(), delegpt_count_ns(), delegpt_log(), delegpt_no_ipv4(), delegpt_no_ipv6(), error_supers(), iter_dp_is_useless(), iter_mark_cycle_targets(), and query_for_targets().

◆ lame

uint8_t delegpt_ns::lame

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_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), and delegpt_log().

◆ done_pside4

uint8_t delegpt_ns::done_pside4

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_add_ns_mlc(), delegpt_copy(), delegpt_log(), iter_lookup_parent_glue_from_cache(), and iter_mark_pside_cycle_targets().

◆ done_pside6

uint8_t delegpt_ns::done_pside6

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_add_ns_mlc(), delegpt_copy(), delegpt_log(), iter_lookup_parent_glue_from_cache(), and iter_mark_pside_cycle_targets().


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