• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/bind9-45.100/bind9/contrib/zkt/

Lines Matching refs:zp

99 int	dist_and_reload (const zone_t *zp, int what)
108 assert (zp != NULL);
109 assert (zp->conf->dist_cmd != NULL);
112 if ( zp->conf->dist_cmd == NULL )
115 if ( !is_exec_ok (zp->conf->dist_cmd) )
124 verbmesg (1, zp->conf, mesg, zp->conf->dist_cmd);
125 lg_mesg (LG_ERROR, "exec of distribution command %s disabled due to security reasons", zp->conf->dist_cmd);
131 if ( zp->conf->view )
133 snprintf (zone, sizeof (zone), "\"%s\" in view \"%s\"", zp->zone, zp->conf->view);
134 view = zp->conf->view;
137 snprintf (zone, sizeof (zone), "\"%s\"", zp->zone);
143 verbmesg (1, zp->conf, "\tDistribute keys for zone %s\n", zone);
145 zp->conf->dist_cmd, zp->zone, path, view);
147 if ( zp->conf->noexec == 0 )
149 verbmesg (2, zp->conf, "\t Run cmd \"%s\"\n", cmdline);
153 verbmesg (2, zp->conf, "\t %s distribute return: \"%s\"\n", zp->conf->dist_cmd, str_chop (str, '\n'));
159 pathname (path, sizeof (path), zp->dir, zp->sfile, NULL);
162 verbmesg (1, zp->conf, "\tDistribute zone %s\n", zone);
163 snprintf (cmdline, sizeof (cmdline), "%s distribute %s %s %s", zp->conf->dist_cmd, zp->zone, path, view);
166 if ( zp->conf->noexec == 0 )
168 verbmesg (2, zp->conf, "\t Run cmd \"%s\"\n", cmdline);
172 verbmesg (2, zp->conf, "\t %s distribute return: \"%s\"\n", zp->conf->dist_cmd, str_chop (str, '\n'));
177 verbmesg (1, zp->conf, "\tReload zone %s\n", zone);
178 snprintf (cmdline, sizeof (cmdline), "%s reload %s %s %s", zp->conf->dist_cmd, zp->zone, path, view);
181 if ( zp->conf->noexec == 0 )
183 verbmesg (2, zp->conf, "\t Run cmd \"%s\"\n", cmdline);
187 verbmesg (2, zp->conf, "\t %s reload return: \"%s\"\n", zp->conf->dist_cmd, str_chop (str, '\n'));