Lines Matching defs:lookup
57 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
62 dns_sdblookup_t *lookup)
87 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "dir"));
94 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf));
96 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "pipe"));
98 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "socket"));
104 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf));
106 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "unknown"));
110 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf));
117 * lookup () does not return SOA or NS records, so authority() must be defined.
120 dirdb_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) {
126 result = dns_sdb_putsoa(lookup, "ns", "hostmaster", 0);
128 result = dns_sdb_putrr(lookup, "ns", 86400, "ns1");
130 result = dns_sdb_putrr(lookup, "ns", 86400, "ns2");