Lines Matching defs:lookup
36 static isc_result_t do_version_lookup(dns_sdblookup_t *lookup);
37 static isc_result_t do_hostname_lookup(dns_sdblookup_t *lookup);
38 static isc_result_t do_authors_lookup(dns_sdblookup_t *lookup);
39 static isc_result_t do_id_lookup(dns_sdblookup_t *lookup);
40 static isc_result_t do_empty_lookup(dns_sdblookup_t *lookup);
41 static isc_result_t do_dns64_lookup(dns_sdblookup_t *lookup);
50 isc_result_t (*do_lookup)(dns_sdblookup_t *lookup);
117 dns_sdblookup_t *lookup)
270 return (dns_sdb_putrdata(lookup, dns_rdatatype_cname, 600,
276 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
286 return (b->do_lookup(lookup));
293 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
302 return (b->do_lookup(lookup));
304 return (dns64_cname(zone, name, lookup));
308 put_txt(dns_sdblookup_t *lookup, const char *text) {
315 return (dns_sdb_putrdata(lookup, dns_rdatatype_txt, 0, buf, len + 1));
319 do_version_lookup(dns_sdblookup_t *lookup) {
324 return (put_txt(lookup, ns_g_server->version));
326 return (put_txt(lookup, ns_g_version));
331 do_hostname_lookup(dns_sdblookup_t *lookup) {
336 return (put_txt(lookup, ns_g_server->hostname));
342 return (put_txt(lookup, buf));
347 do_authors_lookup(dns_sdblookup_t *lookup) {
381 result = put_txt(lookup, *p);
389 do_id_lookup(dns_sdblookup_t *lookup) {
396 return (put_txt(lookup, buf));
402 return (put_txt(lookup, ns_g_server->server_id));
406 do_dns64_lookup(dns_sdblookup_t *lookup) {
407 UNUSED(lookup);
412 do_empty_lookup(dns_sdblookup_t *lookup) {
414 UNUSED(lookup);
419 builtin_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) {
438 result = dns_sdb_putsoa(lookup, server, contact, 0);
442 result = dns_sdb_putrr(lookup, "ns", 0, server);