Lines Matching refs:zone_name
59 char *zone_name;
258 state->zone_name = malloc(strlen(argv[1]) + 2);
259 if (state->zone_name == NULL) {
264 strcpy(state->zone_name, argv[1]);
266 sprintf(state->zone_name, "%s.", argv[1]);
268 if (strcmp(state->zone_name, ".") == 0)
274 state->zone_name, extra, state->zone_name);
281 add_name(state, &state->current[0], state->zone_name,
283 add_name(state, &state->current[0], state->zone_name,
284 "ns", 3600, state->zone_name);
285 add_name(state, &state->current[0], state->zone_name,
290 state->zone_name);
311 state->zone_name);
312 free(state->zone_name);
342 name, state->zone_name, addrbuf);
374 if (strcasecmp(state->zone_name, name) == 0)
378 if (strcasecmp(state->zone_name, absolute) == 0)
415 strncpy(full_name, state->zone_name, 255);
417 } else if (strcmp(state->zone_name, ".") == 0)
420 snprintf(full_name, 255, "%s.%s", name, state->zone_name);
660 result = state->writeable_zone(view, dlzdb, state->zone_name);
664 "configure zone %s", state->zone_name);
670 "zone %s", state->zone_name);