|
unbound 0.1
|
Delegation Point. More...
#include <iter_delegpt.h>
Data Fields | |
| uint8_t * | name |
| the domain name of the delegation point. | |
| size_t | namelen |
| length of the delegation point name | |
| int | namelabs |
| number of labels in delegation point | |
| struct delegpt_ns * | nslist |
| the nameservers, names from the NS RRset rdata. | |
| struct delegpt_addr * | target_list |
| the target addresses for delegation | |
| struct delegpt_addr * | usable_list |
| the list of usable targets; subset of target_list the items in this list are not part of the result list. | |
| struct delegpt_addr * | result_list |
| the list of returned targets; subset of target_list | |
| int | num_ns |
| Number of names on the list. | |
| int | num_addr |
| Number of addresses on the list. | |
| int | bogus |
| if true, the NS RRset was bogus. | |
| uint8_t | has_parent_side_NS |
| if true, the parent-side NS record has been applied: its names have been added and their addresses can follow later. | |
| uint8_t | fallback_to_parent_side_NS |
| if true, the delegation point has reached last resort processing and the parent side information has been possibly added to the delegation point. | |
| uint8_t | dp_type_mlc |
| for assertions on type of delegpt | |
| uint8_t | ssl_upstream |
| use SSL for upstream query | |
| uint8_t | tcp_upstream |
| use TCP for upstream query | |
| uint8_t | auth_dp |
| delegpt from authoritative zone that is locally hosted | |
| int | no_cache |
Delegation Point.
For a domain name, the NS rrset, and the A and AAAA records for those.
| uint8_t* delegpt::name |
the domain name of the delegation point.
Referenced by auth_zone_delegpt(), delegpt_copy(), delegpt_create_mlc(), delegpt_free_mlc(), delegpt_log(), delegpt_set_name(), delegpt_set_name_mlc(), find_add_ds(), forward_request(), forwards_add_zone(), forwards_insert(), generate_dnskey_prefetch(), generate_ns_check(), generate_parentside_target_query(), hints_add_stub(), hints_insert(), hints_lookup_stub(), iter_dp_cangodown(), iter_dp_is_useless(), iter_ds_toolow(), iter_indicates_dnssec(), iter_lookup_parent_NS_from_cache(), iter_msg_from_zone(), iter_stub_fwd_no_cache(), prime_stub(), print_dp_details(), print_root_fwds(), process_response(), processDSNSFind(), processInitRequest(), processInitRequest2(), processLastResort(), processQueryResponse(), processQueryTargets(), read_fwds_host(), read_root_hints(), read_stubs_host(), and response_type_from_server().
| size_t delegpt::namelen |
length of the delegation point name
Referenced by auth_zone_delegpt(), delegpt_create_mlc(), delegpt_get_mem(), delegpt_set_name(), delegpt_set_name_mlc(), find_add_ds(), forward_request(), forwards_insert(), generate_dnskey_prefetch(), generate_ns_check(), hints_add_stub(), hints_insert(), iter_indicates_dnssec(), iter_lookup_parent_NS_from_cache(), iter_msg_from_zone(), iter_stub_fwd_no_cache(), prime_stub(), print_dp_details(), processInitRequest(), processInitRequest2(), processLastResort(), processQueryResponse(), and processQueryTargets().
| int delegpt::namelabs |
number of labels in delegation point
Referenced by auth_zone_delegpt(), delegpt_create_mlc(), delegpt_set_name(), delegpt_set_name_mlc(), forwards_insert(), hints_add_stub(), hints_insert(), hints_lookup_stub(), iter_dp_cangodown(), iter_indicates_dnssec(), iter_msg_from_zone(), iter_stub_fwd_no_cache(), and processQueryResponse().
| struct delegpt_ns* delegpt::nslist |
the nameservers, names from the NS RRset rdata.
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(), errinf_reply(), 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().
| struct delegpt_addr* delegpt::target_list |
the target addresses for delegation
Referenced by delegpt_add_addr(), delegpt_add_addr_mlc(), delegpt_copy(), delegpt_count_addr(), delegpt_count_targets(), delegpt_find_addr(), delegpt_free_mlc(), delegpt_log(), errinf_reply(), iter_dec_attempts(), iter_merge_retry_counts(), print_dp_details(), processLastResort(), and ssl_print_name_dp().
| struct delegpt_addr* delegpt::usable_list |
the list of usable targets; subset of target_list the items in this list are not part of the result list.
Referenced by delegpt_add_addr(), delegpt_add_addr_mlc(), delegpt_add_unused_targets(), delegpt_count_addr(), delegpt_usable_list_remove_addr(), iter_dp_is_useless(), iter_merge_retry_counts(), and processLastResort().
| struct delegpt_addr* delegpt::result_list |
the list of returned targets; subset of target_list
Referenced by delegpt_add_to_result_list(), delegpt_add_unused_targets(), delegpt_addr_on_result_list(), delegpt_count_addr(), iter_dp_is_useless(), iter_fill_rtt(), iter_filter_order(), and iter_server_selection().
| int delegpt::num_ns |
Number of names on the list.
Referenced by delegpt_add_ns(), and delegpt_add_ns_mlc().
| int delegpt::num_addr |
Number of addresses on the list.
Referenced by delegpt_add_addr(), and delegpt_add_addr_mlc().
| int delegpt::bogus |
if true, the NS RRset was bogus.
All info is bad.
Referenced by delegpt_copy(), delegpt_log(), delegpt_rrset_add_ns(), errinf_reply(), iter_fill_rtt(), and print_dp_main().
| uint8_t delegpt::has_parent_side_NS |
if true, the parent-side NS record has been applied: its names have been added and their addresses can follow later.
Also true if the delegationpoint was created from a delegation message and thus contains the parent-side-info already.
Referenced by can_have_last_resort(), compile_time_root_prime(), delegpt_copy(), delegpt_from_message(), delegpt_log(), iter_lookup_parent_NS_from_cache(), parse_delegpt(), processDSNSResponse(), processFinished(), processInitRequest2(), processLastResort(), processQueryResponse(), processQueryTargets(), read_forwards(), read_root_hints(), and read_stubs().
| uint8_t delegpt::fallback_to_parent_side_NS |
if true, the delegation point has reached last resort processing and the parent side information has been possibly added to the delegation point.
For now this signals that further target lookups will ignore the configured target-fetch-policy and only resolve on demand to try and avoid triggering limits at this stage (.i.e, it is very likely that the A/AAAA queries for the newly added name servers will not yield new IP addresses and trigger NXNS countermeasures.
Referenced by processLastResort(), and processQueryTargets().
| uint8_t delegpt::dp_type_mlc |
for assertions on type of delegpt
Referenced by delegpt_add_addr(), delegpt_add_addr_mlc(), delegpt_add_ns(), delegpt_add_ns_mlc(), delegpt_add_rrset_A(), delegpt_add_rrset_AAAA(), delegpt_add_target(), delegpt_add_target_mlc(), delegpt_create_mlc(), delegpt_free_mlc(), delegpt_rrset_add_ns(), delegpt_set_name(), and delegpt_set_name_mlc().
| uint8_t delegpt::ssl_upstream |
use SSL for upstream query
Referenced by delegpt_copy(), do_forward_add(), do_stub_add(), processLastResort(), processQueryTargets(), read_forwards(), and read_stubs().
| uint8_t delegpt::tcp_upstream |
use TCP for upstream query
Referenced by delegpt_copy(), processLastResort(), processQueryTargets(), read_forwards(), and read_stubs().
| uint8_t delegpt::auth_dp |
delegpt from authoritative zone that is locally hosted
Referenced by auth_zone_delegpt(), prime_stub(), processQueryResponse(), and processQueryTargets().