/bind-9.11.3/bin/tests/system/dyndb/ |
H A D | tests.sh | 26 ip="$3" 31 update add $host $type $ip 35 newtest "I:adding $host $type $ip" 38 echo "I:update failed for $host $type $ip" 44 lines=`echo "$out" | grep "$ip" | wc -l` 51 out=`$DIG $DIGOPTS +noall +answer -x $ip` 67 ip=`$DIG $DIGOPTS +short $host $type` 75 newtest "I:deleting $host $type (was $ip)" 84 lines=`echo "$out" | grep "$ip" | wc -l` 91 out=`$DIG $DIGOPTS +noall +answer -x $ip` [all...] |
/bind-9.11.3/lib/dns/ |
H A D | rpz.c | 41 * for rpz-ip policies or policies triggered by addresses in A or 89 #define KEY_IS_IPV4(prefix,ip) ((prefix) >= 96 && (ip)->w[0] == 0 && \ 90 (ip)->w[1] == 0 && (ip)->w[2] == ADDR_V4MAPPED) 99 #define DNS_RPZ_IP_BIT(ip, n) (1 & ((ip)->w[(n)/DNS_RPZ_CIDR_WORD_BITS] >> \ 110 dns_rpz_zbits_t ip; member in struct:dns_rpz_addr_zbits 120 dns_rpz_cidr_key_t ip; member in struct:dns_rpz_cidr_node 299 tgt_set->ip 609 new_node(dns_rpz_zones_t *rpzs, const dns_rpz_cidr_key_t *ip, dns_rpz_prefix_t prefix, const dns_rpz_cidr_node_t *child) argument [all...] |
H A D | rrl.c | 431 key->s.ip[0] = (client_addr->type.sin.sin_addr.s_addr & 436 memmove(key->s.ip, &client_addr->type.sin6.sin6_addr, 437 sizeof(key->s.ip)); 439 key->s.ip[i] &= rrl->ipv6_mask[i]; 860 memmove(&cidr.type.in6, e->key.s.ip, sizeof(e->key.s.ip)); 864 cidr.type.in.s_addr = e->key.s.ip[0];
|
H A D | dnstap.c | 796 putaddr(isc_buffer_t **b, isc_region_t *ip) { argument 799 if (ip->length == 4) { 800 if (!inet_ntop(AF_INET, ip->base, buf, sizeof(buf))) 802 } else if (ip->length == 16) { 803 if (!inet_ntop(AF_INET6, ip->base, buf, sizeof(buf)))
|
/bind-9.11.3/bin/tools/ |
H A D | dnstap-read.c | 212 ProtobufCBinaryData *ip = &m->query_address; local 215 (void)inet_ntop(ip->len == 4 ? AF_INET : AF_INET6, 216 ip->data, buf, sizeof(buf)); 221 ProtobufCBinaryData *ip = &m->response_address; local 224 (void)inet_ntop(ip->len == 4 ? AF_INET : AF_INET6, 225 ip->data, buf, sizeof(buf));
|
/bind-9.11.3/bin/tests/virtual-time/ |
H A D | stop.pl | 128 my $ip = "10.53.0.$1"; 131 system("$ENV{RNDC} -c $testdir/../common/rndc.conf -s $ip -p 9953 stop | sed 's/^/I:$server /'");
|
/bind-9.11.3/bin/tests/system/rpzrecurse/ |
H A D | testgen.pl | 53 return "32.1.0.0.127.rpz-client-ip CNAME .\n"; 62 return "32.255.255.255.255.rpz-ip CNAME .\n"; 70 return "32.255.255.255.255.rpz-ip CNAME .\n"; 74 'client-ip' => \&policy_client_ip, 75 'ip' => \&policy_ip, 154 [ 'client-ip' ], 166 [ 'client-ip', 2 ], 178 [ 'ip' ], 196 [ 'ip', 1 ] 221 [ 'ip', [all...] |
/bind-9.11.3/contrib/dlz/modules/bdbhpt/testing/ |
H A D | bdbhpt-populate.pl | 96 my $ip = '127.0.0.1'; 97 if ($dns_client->db_put($zone, $ip) != 0) { 98 die "Cannot add record '$zone' -> '$ip' to dns_client: $BerkeleyDB::Error";
|
/bind-9.11.3/bin/tests/system/ |
H A D | stop.pl | 134 my $ip = "10.53.0.$1"; 137 system("$ENV{RNDC} -c ../common/rndc.conf -s $ip -p 9953 stop | sed 's/^/I:$server /'");
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | rpz.h | 32 #define DNS_RPZ_CLIENT_IP_ZONE DNS_RPZ_PREFIX"client-ip" 33 #define DNS_RPZ_IP_ZONE DNS_RPZ_PREFIX"ip" 129 dns_name_t ip; /* DNS_RPZ_IP_ZONE.origin. */ member in struct:dns_rpz_zone 157 dns_rpz_zbits_t ip; member in struct:dns_rpz_have
|
H A D | rrl.h | 86 isc_uint32_t ip[DNS_RRL_MAX_PREFIX/32]; member in struct:dns__rrl_key
|
/bind-9.11.3/bin/named/ |
H A D | query.c | 4297 zbits = st->have.ip; 4529 suffix = &rpz->ip; 5170 * rpz-ip, rpz-nsip, rpz-nsdname,and rpz-passthru TLDs. 5172 * 24.0.3.2.10.rpz-ip. to find the policy rule for
|
H A D | server.c | 1886 dns_name_init(&new->ip, NULL); 1945 result = configure_rpz_name2(view, rpz_obj, &new->ip,
|