Lines Matching defs:zone
35 #include <dns/zone.h>
45 dns_zone_t *zone = NULL;
73 "usage: zone_test [-dqsSM] [-c class] [-f file] zone\n");
90 result = dns_zone_create(&zone, mctx);
93 dns_zone_settype(zone, zonetype);
103 result = dns_zone_setorigin(zone, origin);
106 result = dns_zone_setdbtype(zone, 1, &rbt);
109 result = dns_zone_setfile(zone, filename);
118 dns_zone_setclass(zone, rdclass);
121 dns_zone_setmasters(zone, &addr, 1);
123 result = dns_zone_load(zone);
126 result = dns_zonemgr_managezone(zonemgr, zone);
161 result = dns_zone_getdb(zone, &db);
192 dns_zone_dumptostream(zone, stdout);
296 if (zone != NULL)
297 dns_zone_detach(&zone);