Lines Matching defs:zone

285 postgres_get_resultset(const char *zone, const char *record,
406 * was a zone string passed? If so, make it safe for use in
409 if (zone != NULL) {
410 dbi->zone = postgres_escape_string(zone);
411 if (dbi->zone == NULL) {
416 dbi->zone = NULL;
423 "%d did zone", dlz_thread_num);
596 /* free dbi->zone string */
597 if (dbi->zone != NULL)
598 isc_mem_free(ns_g_mctx, dbi->zone);
770 /*% determine if the zone is supported by (in) the database */
798 /* if we returned any rows, zone is supported. */
802 /* no rows returned, zone is not supported. */
806 /*% Determine if the client is allowed to perform a zone transfer */
816 /* first check if the zone is supported by the database. */
822 * if we get to this point we know the zone is supported by
823 * the database the only questions now are is the zone
825 * have an allow zone xfr query.
849 /* if we returned any rows, zone xfr is allowed. */
853 /* no rows returned, zone xfr not allowed */
858 * If the client is allowed to perform a zone transfer, the next order of
859 * business is to get all the nodes in the zone, so bind can respond to the
863 postgres_allnodes(const char *zone, void *driverarg, void *dbdata,
880 result = postgres_get_resultset(zone, NULL, NULL,
979 * if the lookup function does not return SOA or NS records for the zone,
984 postgres_authority(const char *zone, void *driverarg, void *dbdata,
993 result = postgres_get_resultset(zone, NULL, NULL,
1016 /*% if zone is supported, lookup up a (or multiple) record(s) in it */
1018 postgres_lookup(const char *zone, const char *name, void *driverarg,
1027 result = postgres_get_resultset(zone, name, NULL, LOOKUP, dbdata, &rs);