Lines Matching refs:zonefile
406 free(z->zonefile);
555 auth_zone_set_zonefile(struct auth_zone* z, char* zonefile)
557 if(z->zonefile) free(z->zonefile);
558 if(zonefile == NULL) {
559 z->zonefile = NULL;
561 z->zonefile = strdup(zonefile);
562 if(!z->zonefile) {
1455 * Parse zonefile
1568 if(!z || !z->zonefile || z->zonefile[0]==0)
1571 zfilename = z->zonefile;
1578 verbose(VERB_ALGO, "read zonefile %s for %s", zfilename, nm);
1585 verbose(VERB_ALGO, "no zonefile %s for %s",
1590 log_err("cannot open zonefile %s for %s: %s",
1614 log_err("error parsing zonefile %s for %s",
1898 if(!auth_zone_set_zonefile(z, c->zonefile)) {
4309 /** check syntax of chunklist zonefile, parse first RR, return false on
4345 log_err("parse failure: first record in downloaded zonefile "
4834 log_err("http download %s/%s does not contain a zonefile, "
4879 /** write http chunks to zonefile to create downloaded file */
4901 /** write to zonefile after zone has been updated */
4926 if(z->zonefile == NULL || z->zonefile[0] == 0) {
4928 /* no write needed, no zonefile set */
4931 zfilename = z->zonefile;
4938 verbose(VERB_ALGO, "write zonefile %s for %s", zfilename, nm);
4944 " zonefile %s", zfilename);
5045 /* see if we need to write to a zonefile */
6775 * For that the auth_zone itself must exist (and read in zonefile)