/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | zone.h | 3 ** @(#) zone.h -- Header file for zone info 45 /* all we have to know about a zone */ 47 const char *zone; /* domain name or label */ member in struct:Zone 48 const char *dir; /* directory of zone data */ 49 const char *file; /* file name (zone.db) */ 50 const char *sfile; /* file name of secured zone (zone.db.signed) */ 58 extern zone_t *zone_new (zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp); 62 extern int zone_readdir (const char *dir, const char *zone, cons [all...] |
H A D | nscomm.c | 71 lg_mesg (LG_NOTICE, "%s: %s dynamic zone", str, action); 72 verbmesg (1, z, "\t%s dynamic zone %s\n", action, str); 94 ** distribute and reload a zone via "distribute_command" 96 ** 1 for zone distribution and relaod 103 char zone[254+1]; local 133 snprintf (zone, sizeof (zone), "\"%s\" in view \"%s\"", zp->zone, zp->conf->view); 137 snprintf (zone, sizeof (zone), "\" [all...] |
H A D | zone.c | 3 ** @(#) zone.c (c) Mar 2005 Holger Zuleger hznet.de 54 # include "zone.h" 88 return domaincmp (a->zone, b->zone); 103 if ( zp->zone ) free ((char *)zp->zone); 138 ** allocate memory for new zone structure and initialize it 140 zone_t *zone_new (zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp) argument 146 assert (zone != NULL && *zone ! 195 zone_readdir(const char *dir, const char *zone, const char *zfile, zone_t **listp, const zconf_t *conf, int dyn_zone) argument 308 zone_search(const zone_t *list, const char *zone) argument [all...] |
H A D | ncparse.c | 75 { "zone", TOK_ZONE }, 192 ** - In a zone declaration the _first_ keyword MUST be "type" 193 ** - For every master zone "func (directory, zone, filename)" will be called 207 char zone[255+1]; local 276 snprintf (zone, sizeof zone, "%s", strval); /* store the name of the zone */ 286 dbg_val4 ("dir %s view %s zone %s file %s\n", dir, view, zone, zonefil 298 printzone(const char *dir, const char *view, const char *zone, const char *file) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | netaddr.h | 45 isc_uint32_t zone; member in struct:isc_netaddr 117 isc_netaddr_setzone(isc_netaddr_t *netaddr, isc_uint32_t zone);
|
/bind-9.6-ESV-R11/contrib/sdb/time/ |
H A D | timedb.c | 51 timedb_lookup(const char *zone, const char *name, void *dbdata, argument 56 UNUSED(zone); 93 timedb_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) { argument 96 UNUSED(zone); 114 * This zone does not support zone transfer, so allnodes() is NULL. There
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | netscope.c | 39 isc_uint32_t zone; local 59 zone = (isc_uint32_t)ifid; 67 zone = (isc_uint32_t)(llz & 0xffffffffUL); 68 if (zone != llz) 74 *zoneid = zone;
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | notify.c | 30 #include <dns/zone.h> 81 dns_zone_t *zone = NULL; local 108 /* The zone section must have exactly one name. */ 141 &zone); 145 switch (dns_zone_gettype(zone)) { 150 "received notify for zone '%s'%s", namebuf, tsigbuf); 151 respond(client, dns_zone_notifyreceive(zone, 157 dns_zone_detach(&zone); 162 "received notify for zone '%s'%s: not authoritative", 171 if (zone ! [all...] |
H A D | builtin.c | 72 builtin_lookup(const char *zone, const char *name, void *dbdata, argument 77 UNUSED(zone); 149 * If a version string is specified, disable the authors.bind zone. 187 builtin_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) { argument 193 UNUSED(zone); 218 builtin_create(const char *zone, int argc, char **argv, argument 223 UNUSED(zone); 271 builtin_destroy(const char *zone, void *driverdata, void **dbdata) { argument 274 UNUSED(zone);
|
/bind-9.6-ESV-R11/lib/dns/tests/ |
H A D | zonemgr_test.c | 33 #include <dns/zone.h> 41 dns_zone_t *zone = NULL; local 47 CHECK(dns_zone_create(&zone, mctx)); 54 CHECK(dns_zone_setorigin(zone, origin)); 55 dns_zone_setview(zone, view); 56 dns_zone_settype(zone, dns_zone_master); 57 dns_zone_setclass(zone, view->rdclass); 60 *zonep = zone; 65 if (zone != NULL) 66 dns_zone_detach(&zone); 106 dns_zone_t *zone = NULL; local 154 dns_zone_t *zone = NULL; local [all...] |
/bind-9.6-ESV-R11/contrib/sdb/bdb/ |
H A D | bdb.c | 57 bdb_create(const char *zone, int argc, char **argv, argument 62 UNUSED(zone); 101 bdb_lookup(const char *zone, const char *name, void *dbdata, argument 111 UNUSED(zone); 154 bdb_allnodes(const char *zone, void *dbdata, dns_sdballnodes_t *n) argument 163 UNUSED(zone); 203 bdb_destroy(const char *zone, void *unused, void **dbdata) argument 206 UNUSED(zone);
|
/bind-9.6-ESV-R11/contrib/sdb/dir/ |
H A D | dirdb.c | 64 dirdb_lookup(const char *zone, const char *name, void *dbdata, argument 74 UNUSED(zone); 118 dirdb_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) { argument 121 UNUSED(zone); 139 dirdb_create(const char *zone, int argc, char **argv, argument 142 UNUSED(zone); 157 dirdb_destroy(const char *zone, void *driverdata, void **dbdata) { argument 158 UNUSED(zone); 164 * This zone does not support zone transfe [all...] |
/bind-9.6-ESV-R11/lib/bind9/ |
H A D | getaddresses.c | 91 isc_uint32_t zone = 0; local 109 &in6, &zone); 125 isc_netaddr_setzone(&na, zone);
|
/bind-9.6-ESV-R11/bin/check/ |
H A D | named-checkzone.c | 48 #include <dns/zone.h> 55 dns_zone_t *zone = NULL; variable 94 if (zone != NULL) 95 dns_zone_detach(&zone); 461 &zone); 465 fprintf(errout, "dump zone to %s...", output_filename); 468 result = dump_zone(origin, zone, output_filename,
|
/bind-9.6-ESV-R11/contrib/dlz/drivers/ |
H A D | dlz_stub_driver.c | 87 stub_dlz_allnodes(const char *zone, void *driverarg, void *dbdata, argument 93 UNUSED(zone); 124 stub_dlz_authority(const char *zone, void *driverarg, void *dbdata, argument 134 if (strcmp(zone, cd->myzone) == 0) { 172 stub_dlz_lookup(const char *zone, const char *name, void *driverarg, argument 178 UNUSED(zone);
|
H A D | sdlz_helper.c | 95 * %zone%, or %record%, or %client% 110 build_querylist(isc_mem_t *mctx, const char *query_str, char **zone, argument 184 /* check if we encountered "$zone$" token */ 185 if (strcasecmp(tseg->sql, "zone") == 0) { 187 * we don't really need, or want the "zone" 191 /* set tseg->sql to in-direct zone string */ 192 tseg->sql = (char**) zone; 229 * add checks later to verify zone and record are found if 253 /* if this query requires %zone%, make sure we found it */ 258 "Required token $zone [all...] |
H A D | dlz_bdb_driver.c | 98 DB *zone; /*%< zone database handle */ member in struct:bdb_instance 106 char *zone; member in struct:parsed_data 136 * zone(a space)host(a space)ttl(a space)type(a space)remaining data 143 /* save pointer to zone */ 144 pd->zone = tmp; 146 /* find space after zone and change it to a '\0' */ 228 /* check to see if we are authoritative for the zone first. */ 251 /* get a cursor to loop through zone data */ 288 bdb_allnodes(const char *zone, voi argument 453 bdb_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument [all...] |
H A D | dlz_mysql_driver.c | 133 mysql_get_resultset(const char *zone, const char *record, argument 229 * was a zone string passed? If so, make it safe for use in 232 if (zone != NULL) { 233 dbi->zone = mysqldrv_escape_string((MYSQL *) dbi->dbconn, 234 zone); 235 if (dbi->zone == NULL) { 240 dbi->zone = NULL; 350 /* free dbi->zone string */ 351 if (dbi->zone != NULL) 352 isc_mem_free(ns_g_mctx, dbi->zone); 599 mysql_allnodes(const char *zone, void *driverarg, void *dbdata, dns_sdlzallnodes_t *allnodes) argument 713 mysql_authority(const char *zone, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument 745 mysql_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument [all...] |
H A D | dlz_postgres_driver.c | 285 postgres_get_resultset(const char *zone, const char *record, argument 406 * was a zone string passed? If so, make it safe for use in 409 if (zone != NULL) { 410 dbi->zone = postgres_escape_string(zone); 411 if (dbi->zone == NULL) { 416 dbi->zone = NULL; 423 "%d did zone", dlz_thread_num); 596 /* free dbi->zone string */ 597 if (dbi->zone ! 863 postgres_allnodes(const char *zone, void *driverarg, void *dbdata, dns_sdlzallnodes_t *allnodes) argument 984 postgres_authority(const char *zone, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument 1018 postgres_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument [all...] |
/bind-9.6-ESV-R11/contrib/dlz/drivers/include/dlz/ |
H A D | sdlz_helper.h | 55 * special tokens are %zone%, %record%, %client% 80 char *zone; member in struct:dbinstance
|
/bind-9.6-ESV-R11/contrib/sdb/tcl/ |
H A D | tcldb.c | 102 tcldb_lookup(const char *zone, const char *name, void *dbdata, argument 116 cmdv[1] = zone; 125 "zone '%s': tcl lookup function failed: %s", 126 zone, driver->interp->result); 166 "zone '%s': " 168 zone, driver->interp->result); 175 * Set up per-zone state. In our case, the database arguments of the 176 * zone are collected into a Tcl list and assigned to an element of 180 tcldb_create(const char *zone, int argc, char **argv, argument 187 Tcl_SetVar2(driver->interp, (char *) "dbargs", (char *) zone, lis [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | interfaceiter.c | 95 * BSD variants embed scope zone IDs in the 128bit 100 * part and the zone ID part. 112 /* the zone ID is embedded */ 119 unsigned int zone; local 127 zone = if_nametoindex(ifname); 128 if (zone != 0) { 130 (isc_uint32_t)zone);
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | zone_test.c | 43 #include <dns/zone.h> 53 dns_zone_t *zone = NULL; variable 81 "usage: zone_test [-dqsSM] [-c class] [-f file] zone\n"); 98 result = dns_zone_create(&zone, mctx); 101 dns_zone_settype(zone, zonetype); 111 result = dns_zone_setorigin(zone, origin); 114 result = dns_zone_setdbtype(zone, 1, &rbt); 117 result = dns_zone_setfile(zone, filename); 126 dns_zone_setclass(zone, rdclass); 129 dns_zone_setmasters(zone, [all...] |
/bind-9.6-ESV-R11/contrib/sdb/pgsql/ |
H A D | pgsqldb.c | 43 * connection to the database per zone, which is inefficient. It also may 47 * is expected to contain a properly constructed zone. The program "zonetodb" 63 pgsqldb_destroy(const char *zone, void *driverdata, void **dbdata); 115 pgsqldb_lookup(const char *zone, const char *name, void *dbdata, argument 125 UNUSED(zone); 177 pgsqldb_allnodes(const char *zone, void *dbdata, dns_sdballnodes_t *allnodes) { argument 184 UNUSED(zone); 238 pgsqldb_create(const char *zone, int argc, char **argv, argument 244 UNUSED(zone); 286 pgsqldb_destroy(zone, driverdat 294 pgsqldb_destroy(const char *zone, void *driverdata, void **dbdata) argument [all...] |
/bind-9.6-ESV-R11/contrib/sdb/sqlite/ |
H A D | sqlitedb.c | 45 * is expected to contain a properly constructed zone. The program "zonetodb" 112 sqlitedb_lookup(const char *zone, argument 125 UNUSED(zone); 187 sqlitedb_allnodes(const char *zone, argument 197 UNUSED(zone); 218 sqlitedb_destroy(const char *zone, void *driverdata, void **dbdata) argument 222 UNUSED(zone); 253 sqlitedb_create(const char *zone, argument 260 UNUSED(zone); 284 sqlitedb_destroy(zone, driverdat [all...] |