Lines Matching defs:zfile
216 const char* zfile;
228 zfile = config_make_zonefile(zopt, nsd);
229 if(!create_path_components(zfile, ¬exist)) {
231 "the path could not be created", zopt->name, zfile);
240 /* write to zfile~ first, then rename if that works */
241 snprintf(bakfile, sizeof(bakfile), "%s~", zfile);
247 zone->opts->name, zfile));
252 if(rename(bakfile, zfile) == -1) {
254 bakfile, zfile, strerror(errno));
261 if(!file_get_mtime(zfile, &mtime, ¬exist)) {
268 zone->filename = region_strdup(nsd->db->region, zfile);
274 ixfr_write_to_file(zone, zfile);