|
unbound 0.1
|
Nameservers for a delegation point. More...
#include <iter_delegpt.h>
Data Fields | |
| struct delegpt_ns * | next |
| next in list | |
| uint8_t * | name |
| name of nameserver | |
| size_t | namelen |
| length of name | |
| int | cache_lookup_count |
| number of cache lookups for the name | |
| int | resolved |
| If the name has been resolved. | |
| uint8_t | got4 |
| if the ipv4 address is in the delegpt, 0=not, 1=yes 2=negative, negative means it was done, but no content. | |
| uint8_t | got6 |
| if the ipv6 address is in the delegpt, 0=not, 1=yes 2=negative | |
| 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). | |
| char * | tls_auth_name |
| the TLS authentication name, (if not NULL) to use. | |
| int | port |
| the port to use; it should mostly be the default 53 but configured upstreams can provide nondefault ports. | |
Nameservers for a delegation point.
| struct delegpt_ns* delegpt_ns::next |
next in list
Referenced by cache_fill_missing(), delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_copy(), delegpt_count_missing_targets(), delegpt_count_ns(), delegpt_find_ns(), delegpt_free_mlc(), delegpt_get_mem(), delegpt_log(), delegpt_no_ipv4(), delegpt_no_ipv6(), find_add_addrs(), iter_dp_is_useless(), iter_lookup_parent_glue_from_cache(), iter_mark_cycle_targets(), iter_mark_pside_cycle_targets(), processLastResort(), processQueryTargets(), query_for_targets(), and ssl_print_name_dp().
| uint8_t* delegpt_ns::name |
name of nameserver
Referenced by cache_fill_missing(), delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_find_ns(), delegpt_free_mlc(), delegpt_log(), error_response(), find_add_addrs(), iter_dp_is_useless(), iter_lookup_parent_glue_from_cache(), iter_mark_cycle_targets(), iter_mark_pside_cycle_targets(), processLastResort(), query_for_targets(), and ssl_print_name_dp().
| size_t delegpt_ns::namelen |
length of name
Referenced by cache_fill_missing(), delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_find_ns(), delegpt_get_mem(), find_add_addrs(), iter_lookup_parent_glue_from_cache(), iter_mark_cycle_targets(), iter_mark_pside_cycle_targets(), processLastResort(), and query_for_targets().
| int delegpt_ns::cache_lookup_count |
number of cache lookups for the name
Referenced by cache_fill_missing(), delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_copy(), and iter_lookup_parent_glue_from_cache().
| 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_ns(), delegpt_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_count_missing_targets(), delegpt_count_ns(), delegpt_log(), delegpt_mark_neg(), delegpt_no_ipv4(), delegpt_no_ipv6(), error_supers(), iter_dp_is_useless(), iter_mark_cycle_targets(), processQueryTargets(), processTargetResponse(), and query_for_targets().
| uint8_t delegpt_ns::got4 |
if the ipv4 address is in the delegpt, 0=not, 1=yes 2=negative, negative means it was done, but no content.
Referenced by delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_log(), delegpt_mark_neg(), delegpt_no_ipv6(), error_supers(), processTargetResponse(), and query_for_targets().
| uint8_t delegpt_ns::got6 |
if the ipv6 address is in the delegpt, 0=not, 1=yes 2=negative
Referenced by delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_log(), delegpt_mark_neg(), delegpt_no_ipv4(), error_supers(), processTargetResponse(), and query_for_targets().
| 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(), delegpt_count_missing_targets(), delegpt_log(), processLastResort(), processTargetResponse(), and query_for_targets().
| 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_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_log(), iter_lookup_parent_glue_from_cache(), iter_mark_pside_cycle_targets(), processLastResort(), and query_for_targets().
| 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_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_log(), iter_lookup_parent_glue_from_cache(), iter_mark_pside_cycle_targets(), processLastResort(), and query_for_targets().
| char* delegpt_ns::tls_auth_name |
the TLS authentication name, (if not NULL) to use.
Referenced by delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), delegpt_free_mlc(), processLastResort(), processTargetResponse(), and ssl_print_name_dp().
| int delegpt_ns::port |
the port to use; it should mostly be the default 53 but configured upstreams can provide nondefault ports.
Referenced by delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_copy(), processLastResort(), processTargetResponse(), and ssl_print_name_dp().