Searched refs:view (Results 1 - 25 of 90) sorted by relevance

1234

/bind-9.6-ESV-R11/contrib/zkt/examples/views/
H A Ddnssec-zkt-extern4 # out of the view directory
7 ZKT_CONFFILE=`pwd`/dnssec.conf ../../dnssec-zkt --view extern "$@"
H A Ddnssec-zkt-intern4 # out of the view directory
7 ZKT_CONFFILE=`pwd`/dnssec.conf ../../dnssec-zkt --view intern "$@"
H A Dnamed.conf61 ** view intern
63 view "intern" {
83 ** view extern
85 view "extern" {
/bind-9.6-ESV-R11/lib/dns/
H A Dview.c66 dns_view_t *view; local
70 * Create a view.
76 view = isc_mem_get(mctx, sizeof(*view));
77 if (view == NULL)
80 view->mctx = NULL;
81 isc_mem_attach(mctx, &view->mctx);
82 view->name = isc_mem_strdup(mctx, name);
83 if (view->name == NULL) {
87 result = isc_mutex_init(&view
260 destroy(dns_view_t *view) argument
377 all_done(dns_view_t *view) argument
400 dns_view_t *view; local
453 dns_view_dialup(dns_view_t *view) argument
475 dns_view_t *view; local
498 dns_view_t *view = event->ev_arg; local
522 dns_view_t *view = event->ev_arg; local
546 dns_view_t *view = event->ev_arg; local
569 dns_view_createresolver(dns_view_t *view, isc_taskmgr_t *taskmgr, unsigned int ntasks, isc_socketmgr_t *socketmgr, isc_timermgr_t *timermgr, unsigned int options, dns_dispatchmgr_t *dispatchmgr, dns_dispatch_t *dispatchv4, dns_dispatch_t *dispatchv6) argument
639 dns_view_setcache(dns_view_t *view, dns_cache_t *cache) argument
658 dns_view_sethints(dns_view_t *view, dns_db_t *hints) argument
668 dns_view_setkeyring(dns_view_t *view, dns_tsig_keyring_t *ring) argument
677 dns_view_setdstport(dns_view_t *view, in_port_t dstport) argument
683 dns_view_addzone(dns_view_t *view, dns_zone_t *zone) argument
695 dns_view_freeze(dns_view_t *view) argument
707 dns_view_findzone(dns_view_t *view, dns_name_t *name, dns_zone_t **zonep) argument
727 dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type, isc_stdtime_t now, unsigned int options, isc_boolean_t use_hints, dns_db_t **dbp, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
929 dns_view_simplefind(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type, isc_stdtime_t now, unsigned int options, isc_boolean_t use_hints, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
973 dns_view_findzonecut(dns_view_t *view, dns_name_t *name, dns_name_t *fname, isc_stdtime_t now, unsigned int options, isc_boolean_t use_hints, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
984 dns_view_findzonecut2(dns_view_t *view, dns_name_t *name, dns_name_t *fname, isc_stdtime_t now, unsigned int options, isc_boolean_t use_hints, isc_boolean_t use_cache, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
1165 dns_view_t *view; local
1188 dns_view_t *view; local
1240 dns_view_load(dns_view_t *view, isc_boolean_t stop) argument
1249 dns_view_loadnew(dns_view_t *view, isc_boolean_t stop) argument
1258 dns_view_gettsig(dns_view_t *view, dns_name_t *keyname, dns_tsigkey_t **keyp) argument
1272 dns_view_getpeertsig(dns_view_t *view, isc_netaddr_t *peeraddr, dns_tsigkey_t **keyp) argument
1292 dns_view_checksig(dns_view_t *view, isc_buffer_t *source, dns_message_t *msg) argument
1301 dns_view_dumpdbtostream(dns_view_t *view, FILE *fp) argument
1317 dns_view_flushcache(dns_view_t *view) argument
1341 dns_view_flushname(dns_view_t *view, dns_name_t *name) argument
1355 dns_view_adddelegationonly(dns_view_t *view, dns_name_t *name) argument
1390 dns_view_excludedelegationonly(dns_view_t *view, dns_name_t *name) argument
1425 dns_view_isdelegationonly(dns_view_t *view, dns_name_t *name) argument
1457 dns_view_setrootdelonly(dns_view_t *view, isc_boolean_t value) argument
1463 dns_view_getrootdelonly(dns_view_t *view) argument
1469 dns_view_freezezones(dns_view_t *view, isc_boolean_t value) argument
1478 dns_view_setresstats(dns_view_t *view, isc_stats_t *stats) argument
1488 dns_view_getresstats(dns_view_t *view, isc_stats_t **statsp) argument
1497 dns_view_setresquerystats(dns_view_t *view, dns_stats_t *stats) argument
1506 dns_view_getresquerystats(dns_view_t *view, dns_stats_t **statsp) argument
[all...]
H A Drootns.c42 #include <dns/view.h>
263 report(dns_view_t *view, dns_name_t *name, isc_boolean_t missing, argument
273 if (strcmp(view->name, "_bind") != 0 &&
274 strcmp(view->name, "_default") != 0) {
275 viewname = view->name;
276 sep = ": view ";
322 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, argument
348 report(view, name, ISC_TRUE, &rdata);
356 report(view, name, ISC_FALSE, &rdata);
366 report(view, nam
422 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db) argument
[all...]
H A Ddlz.c111 dns_dlzallowzonexfr(dns_view_t *view, dns_name_t *name, argument
121 REQUIRE(DNS_DLZ_VALID(view->dlzdatabase));
126 dlzdatabase = view->dlzdatabase;
130 view->rdclass, name, clientaddr, dbp);
250 dns_dlzfindzone(dns_view_t *view, dns_name_t *name, unsigned int minlabels, argument
264 REQUIRE(DNS_DLZ_VALID(view->dlzdatabase));
294 dlzdatabase = view->dlzdatabase;
298 view->rdclass, zonename, dbp);
/bind-9.6-ESV-R11/contrib/zkt/examples/flat/
H A Ddist.sh50 view=""
51 test $# -gt 3 && view="$4"
55 if test -n "$view"
57 echo "scp K$zone+* $server:$dir/$view/$zone/"
58 : scp K$zone+* $server:$dir/$view/$zone/
65 if test -n "$view"
67 echo "scp $zonefile $server:$dir/$view/$domain/"
68 : scp $zonefile $server:$dir/$view/$domain/
75 echo "rndc $action $domain $view"
76 : rndc $action $domain $view
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dview.h27 /*! \file dns/view.h
31 * A "view" is a DNS namespace, together with an optional resolver and a
39 * code), must ensure exclusive access to the view. When the view is
40 * "frozen", the core attributes become immutable, and the view module
41 * will ensure synchronization. Freezing allows the view's core attributes
45 *\li Before the view is frozen, the caller must ensure synchronization.
47 *\li After the view is frozen, the module guarantees appropriate
168 #define DNS_VIEW_VALID(view) ISC_MAGIC_VALID(view, DNS_VIEW_MAGI
[all...]
H A Drootns.h36 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db);
40 * Requires view, hints and (cache) db to be valid.
H A Ddlz.h89 #include <dns/view.h>
200 dns_dlzallowzonexfr(dns_view_t *view, dns_name_t *name,
232 dns_dlzfindzone(dns_view_t *view, dns_name_t *name,
H A Dlookup.h77 dns_view_t *view, unsigned int options, isc_task_t *task,
88 *\li 'view' is a valid view which has a resolver.
H A Dbyaddr.h78 dns_byaddr_create(isc_mem_t *mctx, isc_netaddr_t *address, dns_view_t *view,
102 *\li 'view' is a valid view which has a resolver.
H A Dvalidator.h33 * the view and may fetch RRset to complete trust chains. It implements
129 dns_view_t * view; member in struct:dns_validator
179 dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
208 * The validation is performed in the context of 'view'.
/bind-9.6-ESV-R11/contrib/zkt/
H A Dnscomm.c66 if ( z->view )
67 snprintf (str, sizeof (str), "\"%s\" in view \"%s\"", domain, z->view);
74 if ( z->view )
75 snprintf (cmdline, sizeof (cmdline), "%s %s %s IN %s", RELOADCMD, action, domain, z->view);
105 char *view; local
130 view = ""; /* default is an empty view string */
131 if ( zp->conf->view )
133 snprintf (zone, sizeof (zone), "\"%s\" in view \"
[all...]
H A Dncparse.c85 { "view", TOK_VIEW },
206 char view[255+1]; local
216 view[0] = '\0';
270 snprintf (view, sizeof view, "%s", strval); /* store the name of the view */
286 dbg_val4 ("dir %s view %s zone %s file %s\n", dir, view, zone, zonefile);
287 (*func) (dir, view, zone, zonefile);
298 int printzone (const char *dir, const char *view, cons argument
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dserver.c81 #include <dns/view.h>
161 struct viewlistentry *view; member in struct:dumpcontext
171 dns_view_t *view; member in struct:viewlistentry
315 configure_forward(const cfg_obj_t *config, dns_view_t *view, dns_name_t *origin,
319 configure_alternates(const cfg_obj_t *config, dns_view_t *view,
324 const cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
331 * Configure a single view ACL at '*aclp'. Get its configuration from
332 * 'vconfig' (for per-view configuration) and maybe from 'config'
517 * Configure DNSSEC keys for a view. Currently used only for
520 * The per-view configuratio
1043 cache_reusable(dns_view_t *originview, dns_view_t *view, isc_boolean_t new_zero_no_soattl) argument
1145 create_empty_zone(dns_zone_t *zone, dns_name_t *name, dns_view_t *view, const cfg_obj_t *zonelist, const char **empty_dbtype, int empty_dbtypec, isc_boolean_t zonestats_on) argument
1314 configure_view(dns_view_t *view, const cfg_obj_t *config, const cfg_obj_t *vconfig, isc_mem_t *mctx, cfg_aclconfctx_t *actx, isc_boolean_t need_hints) argument
2332 configure_hints(dns_view_t *view, const char *filename) argument
2347 configure_alternates(const cfg_obj_t *config, dns_view_t *view, const cfg_obj_t *alternates) argument
2432 configure_forward(const cfg_obj_t *config, dns_view_t *view, dns_name_t *origin, const cfg_obj_t *forwarders, const cfg_obj_t *forwardtype) argument
2573 dns_view_t *view = NULL; local
2601 dns_view_t *view = NULL; local
2627 configure_zone(const cfg_obj_t *config, const cfg_obj_t *zconfig, const cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view, cfg_aclconfctx_t *aclconf) argument
2978 dns_view_t *view; local
3088 dns_view_t *view; local
3288 dns_view_t *view = NULL; local
4126 dns_view_t *view; local
4155 dns_view_t *view; local
4248 dns_view_t *view, *view_next; local
4720 dns_view_t *view = NULL; local
5062 add_view_tolist(struct dumpcontext *dctx, dns_view_t *view) argument
5238 dns_view_t *view; local
5374 dns_view_t *view; local
5427 dns_view_t *view; local
5488 dns_view_t *view; local
5683 dns_view_t *view; local
5724 list_keynames(dns_view_t *view, dns_tsig_keyring_t *ring, isc_buffer_t *text, unsigned int *foundkeys) argument
5802 dns_view_t *view; local
5853 dns_view_t *view; local
[all...]
H A Dstatschannel.c38 #include <dns/view.h>
785 dns_view_t *view; local
818 * Start by rendering the views we know of here. For each view we
821 view = ISC_LIST_HEAD(server->viewlist);
823 while (view != NULL) {
824 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "view"));
827 TRY0(xmlTextWriterWriteString(writer, ISC_XMLCHAR view->name));
831 result = dns_zt_apply(view->zonetable, ISC_TRUE, zone_xmlrender,
837 if (view->resquerystats != NULL) {
839 dns_rdatatypestats_dump(view
1366 dns_view_t *view; local
[all...]
H A Dclient.c47 #include <dns/view.h>
187 * on it. It has a view, and it may have any of a non-reset OPT,
282 * We need to detach from the view early when shutting down
285 * - The resolver will not shut down until the view refcount is zero
286 * - The view refcount does not go to zero until all clients detach
287 * - The client does not detach from the view until references is zero
290 * Keep the view attached until any outstanding updates complete.
293 client->newstate == NS_CLIENTSTATE_FREED && client->view != NULL)
294 dns_view_detach(&client->view);
628 if (client->view !
1176 dns_view_t *view; local
1246 dns_view_t *view; local
1386 dns_view_t *view; local
[all...]
/bind-9.6-ESV-R11/bin/tests/
H A Dbyaddr_test.c44 #include <dns/view.h>
85 dns_view_t *view; local
146 view = NULL;
148 &view) == ISC_R_SUCCESS);
187 RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
210 RUNTIME_CHECK(dns_fwdtable_add(view->fwdtable, dns_rootname,
215 dns_view_setcache(view, cache);
216 dns_view_freeze(view);
232 result = dns_byaddr_create(mctx, &na, view, options, task,
248 dns_view_detach(&view);
[all...]
H A Dbyname_test.c51 static dns_view_t *view = NULL; variable
126 result = dns_adb_createfind(view->adb, task, adb_callback, NULL,
266 view = NULL;
268 &view) == ISC_R_SUCCESS);
306 RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
329 RUNTIME_CHECK(dns_fwdtable_add(view->fwdtable, dns_rootname,
334 dns_view_setcache(view, cache);
335 dns_view_freeze(view);
353 dns_view_detach(&view);
H A Dadb_test.c63 static dns_view_t *view; variable
182 view = NULL;
183 result = dns_view_create(mctx, dns_rdataclass_in, "_default", &view);
193 dns_view_setcache(view, cache);
219 RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
230 dns_view_sethints(view, rootdb);
233 dns_view_freeze(view);
267 now, NULL, view->dstport, &client->find);
358 adb = view->adb;
414 dns_view_detach(&view);
[all...]
/bind-9.6-ESV-R11/lib/dns/tests/
H A Ddnstest.c43 #include <dns/view.h>
192 * 'zonep'. If 'view' is set, add the zone to that view; otherwise, create
193 * a new view for the purpose.
195 * If the created view is going to be needed by the caller subsequently,
196 * then 'keepview' should be set to true; this will prevent the view
198 * detaching the view.
201 dns_test_makezone(const char *name, dns_zone_t **zonep, dns_view_t *view, argument
210 if (view == NULL)
211 CHECK(dns_view_create(mctx, dns_rdataclass_in, "view",
[all...]
H A Dzonemgr_test.c32 #include <dns/view.h>
40 dns_view_t *view = NULL; local
46 CHECK(dns_view_create(mctx, dns_rdataclass_in, "view", &view));
55 dns_zone_setview(zone, view);
57 dns_zone_setclass(zone, view->rdclass);
59 dns_view_detach(&view);
67 if (view != NULL)
68 dns_view_detach(&view);
/bind-9.6-ESV-R11/bin/tests/system/checkconf/
H A Dtests.sh58 view dummy {
63 [ $? -eq 1 ] || { echo "I: view $field failed" ; ret=1; }
68 view dummy {
72 [ $? -eq 1 ] || { echo "I: options + view $field failed" ; ret=1; }
/bind-9.6-ESV-R11/bin/tests/system/tkey/
H A Dkeydelete.c46 #include <dns/view.h>
151 dns_view_t *view; local
217 view = NULL;
218 RUNCHECK(dns_view_create(mctx, 0, "_test", &view));
219 dns_view_setkeyring(view, ring);
255 dns_view_detach(&view);

Completed in 62 milliseconds

1234