unbound 0.1
config_stub Struct Reference

Stub config options. More...

#include <config_file.h>

Data Fields

struct config_stub * next
 next in list
char * name
 domain name (in text) of the stub apex domain
struct config_strlist * hosts
 list of stub nameserver hosts (domain name)
struct config_strlist * addrs
 list of stub nameserver addresses (IP address)
int isprime
 if stub-prime is set
int isfirst
 if forward-first is set (failover to without if fails)
int tcp_upstream
 use tcp for queries to this stub
int ssl_upstream
 use SSL for queries to this stub
int no_cache

Detailed Description

Stub config options.

Field Documentation

◆ next

◆ name

◆ hosts

struct config_strlist* config_stub::hosts

list of stub nameserver hosts (domain name)

Referenced by config_delstub(), getmem_config_stub(), read_fwds_host(), read_stubs_host(), and warn_hosts().

◆ addrs

struct config_strlist* config_stub::addrs

◆ isprime

int config_stub::isprime

if stub-prime is set

Referenced by read_stubs(), and ub_ctx_set_stub().

◆ isfirst

int config_stub::isfirst

if forward-first is set (failover to without if fails)

Referenced by read_forwards(), and read_stubs().

◆ tcp_upstream

int config_stub::tcp_upstream

use tcp for queries to this stub

Referenced by read_forwards(), and read_stubs().

◆ ssl_upstream

int config_stub::ssl_upstream

use SSL for queries to this stub

Referenced by read_forwards(), and read_stubs().


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