Lines Matching refs:zone_name
56 char *zone_name;
255 state->zone_name = malloc(strlen(argv[1]) + 2);
256 if (state->zone_name == NULL) {
261 strcpy(state->zone_name, argv[1]);
263 sprintf(state->zone_name, "%s.", argv[1]);
265 if (strcmp(state->zone_name, ".") == 0)
271 state->zone_name, extra, state->zone_name);
278 add_name(state, &state->current[0], state->zone_name,
280 add_name(state, &state->current[0], state->zone_name,
281 "ns", 3600, state->zone_name);
282 add_name(state, &state->current[0], state->zone_name,
287 state->zone_name);
308 state->zone_name);
309 free(state->zone_name);
340 "in zone DB '%s'", name, state->zone_name);
360 if (strcasecmp(state->zone_name, name) == 0)
364 if (strcasecmp(state->zone_name, absolute) == 0)
400 strncpy(full_name, state->zone_name, 255);
403 snprintf(full_name, 255, "%s.%s", name, state->zone_name);
612 result = state->writeable_zone(view, dlzdb, state->zone_name);
616 "configure zone %s", state->zone_name);
622 "zone %s", state->zone_name);