enum tapi_dns_unbound_cfg_ac_action

Overview

Representation of possible values of action for access_control option. More…

#include <tapi_dns_unbound.h>

enum tapi_dns_unbound_cfg_ac_action {
    TAPI_DNS_UNBOUND_CFG_AC_DENY,
    TAPI_DNS_UNBOUND_CFG_AC_REFUSE,
    TAPI_DNS_UNBOUND_CFG_AC_ALLOW,
    TAPI_DNS_UNBOUND_CFG_AC_ALLOW_SETRD,
    TAPI_DNS_UNBOUND_CFG_AC_ALLOW_SNOOP,
    TAPI_DNS_UNBOUND_CFG_AC_DENY_NON_LOCAL,
    TAPI_DNS_UNBOUND_CFG_AC_REFUSE_NON_LOCAL,
};

Detailed Documentation

Representation of possible values of action for access_control option.

Enum Values

TAPI_DNS_UNBOUND_CFG_AC_DENY

Stops queries from hosts from that netblock.

TAPI_DNS_UNBOUND_CFG_AC_REFUSE

Stops queries too, but sends a DNS rcode REFUSED error message back.

TAPI_DNS_UNBOUND_CFG_AC_ALLOW

Gives access to clients from that netblock. It gives only access for recursion clients (which is what almost all clients need). Non-recursive queries are refused.

TAPI_DNS_UNBOUND_CFG_AC_ALLOW_SETRD

Ignores the recursion desired (RD) bit and treats all requests as if the recursion desired bit is set.

TAPI_DNS_UNBOUND_CFG_AC_ALLOW_SNOOP

Give both recursive and non recursive access.

TAPI_DNS_UNBOUND_CFG_AC_DENY_NON_LOCAL

Messages that are disallowed to query for the authoritative local-data are dropped.

TAPI_DNS_UNBOUND_CFG_AC_REFUSE_NON_LOCAL

Messages that are disallowed to query for the authoritative local-data are refused.