• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/bind9-45.101/bind9/bin/named/

Lines Matching +defs:new +defs:args

207  * new zones to be added at runtime.
1438 dns_rpz_zone_t *old, *new;
1443 new = isc_mem_get(view->mctx, sizeof(*new));
1444 if (new == NULL) {
1449 memset(new, 0, sizeof(*new));
1450 dns_name_init(&new->nsdname, NULL);
1451 dns_name_init(&new->origin, NULL);
1452 dns_name_init(&new->cname, NULL);
1453 ISC_LIST_INITANDAPPEND(view->rpz_zones, new, link);
1458 new->policy = DNS_RPZ_POLICY_GIVEN;
1461 new->policy = dns_rpz_str2policy(str);
1462 INSIST(new->policy != DNS_RPZ_POLICY_ERROR);
1475 result = dns_name_fromstring2(&new->nsdname, DNS_RPZ_NSDNAME_ZONE,
1487 l1 = dns_name_countlabels(&new->nsdname);
1489 dns_name_getlabelsequence(&new->nsdname, l1 - l2, l2, &new->origin);
1494 result = dns_view_findzone(view, &new->origin, &zone);
1512 old != new;
1514 ++new->num;
1515 if (dns_name_equal(&old->origin, &new->origin)) {
1523 if (new->policy == DNS_RPZ_POLICY_CNAME) {
1525 result = dns_name_fromstring(&new->cname, str, 0, view->mctx);
1985 * otherwise create a new cache.
3189 * Create a new view and add it to the list.
3362 * Check for duplicates in the new zone table.
3401 * new view.
3409 * to create a new one.
3454 * Add the zone to its view in the new view list.
4118 /* See if we need to (re)generate a new key. */
4198 result = ns_config_get(maps, "allow-new-zones", &nz);
4315 * Parse the configuration file using the new config code.
4735 * If we're allowing new zones, we need to be able to find the
4736 * new zone file and count those as well. So we setup the new
4848 /* Swap our new view list with the production one. */
4860 /* Swap our new cache list with the production one. */
4964 "creating new logging configuration");
5758 "loading new zones failed: %s",
5806 * Find the zone specified in the control channel command 'args',
5811 zone_from_args(ns_server_t *server, char *args, dns_zone_t **zonep,
5826 input = args;
5894 ns_server_retransfercommand(ns_server_t *server, char *args) {
5899 result = zone_from_args(server, args, &zone, NULL);
5917 ns_server_reloadcommand(ns_server_t *server, char *args, isc_buffer_t *text) {
5923 result = zone_from_args(server, args, &zone, NULL);
5967 ns_server_reconfigcommand(ns_server_t *server, char *args) {
5968 UNUSED(args);
5978 ns_server_notifycommand(ns_server_t *server, char *args, isc_buffer_t *text) {
5983 result = zone_from_args(server, args, &zone, NULL);
6001 ns_server_refreshcommand(ns_server_t *server, char *args, isc_buffer_t *text) {
6008 result = zone_from_args(server, args, &zone, NULL);
6347 ns_server_dumpdb(ns_server_t *server, char *args) {
6355 ptr = next_token(&args, " \t");
6381 sep = (args == NULL) ? "" : ": ";
6384 "dumpdb started%s%s", sep, (args != NULL) ? args : "");
6386 ptr = next_token(&args, " \t");
6390 ptr = next_token(&args, " \t");
6394 ptr = next_token(&args, " \t");
6398 ptr = next_token(&args, " \t");
6411 ptr = next_token(&args, " \t");
6425 ns_server_dumpsecroots(ns_server_t *server, char *args) {
6435 ptr = next_token(&args, " \t");
6438 ptr = next_token(&args, " \t");
6467 ptr = next_token(&args, " \t");
6514 ns_server_setdebuglevel(ns_server_t *server, char *args) {
6523 ptr = next_token(&args, " \t");
6527 /* Look for the new level name. */
6528 levelstr = next_token(&args, " \t");
6546 ns_server_validation(ns_server_t *server, char *args) {
6554 ptr = next_token(&args, " \t");
6559 ptr = next_token(&args, " \t");
6573 viewname = next_token(&args, " \t");
6599 ns_server_flushcache(ns_server_t *server, char *args) {
6608 ptr = next_token(&args, " \t");
6613 viewname = next_token(&args, " \t");
6735 ns_server_flushname(ns_server_t *server, char *args) {
6746 ptr = next_token(&args, " \t");
6751 target = next_token(&args, " \t");
6764 viewname = next_token(&args, " \t");
7099 ns_server_rekey(ns_server_t *server, char *args) {
7106 if (strncasecmp(args, NS_COMMAND_SIGN, strlen(NS_COMMAND_SIGN)) == 0)
7109 result = zone_from_args(server, args, &zone, NULL);
7139 ns_server_freeze(ns_server_t *server, isc_boolean_t freeze, char *args,
7153 result = zone_from_args(server, args, &zone, NULL);
7276 ns_server_add_zone(ns_server_t *server, char *args) {
7300 arglen = strlen(args);
7301 isc_buffer_init(&argbuf, args, arglen);
7302 isc_buffer_add(&argbuf, strlen(args));
7330 /* Are we accepting new zones? */
7411 /* Emit just the zone name from args */
7423 /* Find beginning of option block from args */
7424 for (argp = args; *argp; argp++, arglen--) {
7468 ns_server_del_zone(ns_server_t *server, char *args) {
7481 CHECK(zone_from_args(server, args, &zone, &zonename));
7590 "new zone file", zonename);