Lines Matching refs:zonefile
411 free(z->zonefile);
560 auth_zone_set_zonefile(struct auth_zone* z, char* zonefile)
562 if(z->zonefile) free(z->zonefile);
563 if(zonefile == NULL) {
564 z->zonefile = NULL;
566 z->zonefile = strdup(zonefile);
567 if(!z->zonefile) {
1460 * Parse zonefile
1573 if(!z || !z->zonefile || z->zonefile[0]==0)
1576 zfilename = z->zonefile;
1583 verbose(VERB_ALGO, "read zonefile %s for %s", zfilename, nm);
1590 verbose(VERB_ALGO, "no zonefile %s for %s",
1595 log_err("cannot open zonefile %s for %s: %s",
1619 log_err("error parsing zonefile %s for %s",
1750 * spot bad hashes in zonefile as they are read.
1798 if(z->zonefile && z->zonefile[0]!=0 && env)
2129 if(!auth_zone_set_zonefile(z, c->zonefile)) {
4585 /** check syntax of chunklist zonefile, parse first RR, return false on
4621 log_err("parse failure: first record in downloaded zonefile "
5111 log_err("http download %s/%s does not contain a zonefile, "
5170 /** write http chunks to zonefile to create downloaded file */
5192 /** write to zonefile after zone has been updated */
5217 if(z->zonefile == NULL || z->zonefile[0] == 0) {
5219 /* no write needed, no zonefile set */
5222 zfilename = z->zonefile;
5229 verbose(VERB_ALGO, "write zonefile %s for %s", zfilename, nm);
5235 " zonefile %s", zfilename);
5381 /* see if we need to write to a zonefile */
7126 * For that the auth_zone itself must exist (and read in zonefile)
8612 if(z->zonefile)
8613 m += strlen(z->zonefile)+1;