Searched defs:lookup (Results 1 - 25 of 43) sorted by relevance

12

/bind-9.11.3/contrib/sdb/tcl/
H A Dlookup.tcl7 # $Id: lookup.tcl,v 1.10 2007/06/19 23:47:08 tbox Exp $
10 # Sample lookup procedure for tcldb
12 # This lookup procedure defines zones with identical SOA, NS, and MX
30 proc lookup {zone name} { procedure
H A Dtcldb.c14 * from the file lookup.tcl; look at the comments there for
63 tclres = Tcl_EvalFile(driver->interp, (char *) "lookup.tcl");
68 "loading 'lookup.tcl' failed: %s",
90 * Perform a lookup, by invoking the Tcl procedure "lookup".
95 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
100 dns_sdblookup_t *lookup)
118 cmdv[0] = "lookup";
128 "zone '%s': tcl lookup function failed: %s",
155 tmpres = dns_sdb_putrr(lookup, field
94 tcldb_lookup(const char *zone, const char *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
[all...]
/bind-9.11.3/contrib/dlz/modules/perl/testing/
H A Ddlz_perl_example.pm111 sub lookup { subroutine
115 "DLZ Perl Script: Called lookup, looking for record $name in zone $zone"
147 # Note the return AoA for this method differs from lookup in that it must
162 # This makes things easy for lookup but hard here. We must
/bind-9.11.3/contrib/sdb/time/
H A Dtimedb.c44 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
49 dns_sdblookup_t *lookup)
74 result = dns_sdb_putrr(lookup, "txt", 1, buf);
78 result = dns_sdb_putrr(lookup, "cname", 1, "time");
82 result = dns_sdb_putrr(lookup, "dname", 1, "@");
92 * lookup() does not return SOA or NS records, so authority() must be defined.
95 timedb_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) { argument
101 result = dns_sdb_putsoa(lookup, "localhost.", "root.localhost.", 0);
105 result = dns_sdb_putrr(lookup, "ns", 86400, "ns1.localdomain.");
108 result = dns_sdb_putrr(lookup, "n
43 timedb_lookup(const char *zone, const char *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dsdb.h42 * A simple database lookup in progress. This is an opaque type.
53 dns_sdblookup_t *lookup,
58 void *dbdata, dns_sdblookup_t *lookup,
78 dns_sdblookupfunc_t lookup; member in struct:dns_sdbmethods
110 * function 'lookup', passing it a printable zone name 'zone', a printable
113 * argument to 'lookup' and 'authority' is an opaque pointer to be passed to
116 * The lookup function returns the lookup results to the name server
118 * the return value of the lookup function should be ISC_R_SUCCESS.
119 * If the domain name 'name' does not exist, the lookup functio
[all...]
H A Dsdlz.h63 /* A simple DLZ database lookup in progress. */
113 dns_sdlzlookup_t *lookup);
118 * server is performing a query, after both the find zone and lookup
119 * methods have been called. This method is required if the lookup
178 void *dbdata, dns_sdlzlookup_t *lookup,
184 * supply a lookup method. This method is called when the
283 dns_sdlzlookupfunc_t lookup; member in struct:dns_sdlzmethods
331 typedef isc_result_t dns_sdlz_putrr_t(dns_sdlzlookup_t *lookup,
337 * Add a single resource record to the lookup structure to be later
341 typedef isc_result_t dns_sdlz_putsoa_t(dns_sdlzlookup_t *lookup,
[all...]
/bind-9.11.3/contrib/sdb/dir/
H A Ddirdb.c57 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 () doe
56 dirdb_lookup(const char *zone, const char *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
120 dirdb_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) argument
[all...]
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_stub_driver.c116 dns_sdlzlookup_t *lookup)
126 result = dns_sdlz_putsoa(lookup, cd->myname,
131 result = dns_sdlz_putrr(lookup, "ns", 86400, cd->myname);
168 void *dbdata, dns_sdlzlookup_t *lookup,
182 result = dns_sdlz_putrr(lookup, "a", 1, cd->myip);
115 stub_dlz_authority(const char *zone, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument
167 stub_dlz_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
H A Ddlz_bdb_driver.c449 void *dbdata, dns_sdlzlookup_t *lookup,
531 result = dns_sdlz_putrr(lookup, pd.type, pd.ttl, pd.data);
735 /* bdb_authority not needed as authority data is returned by lookup */
448 bdb_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
H A Ddlz_mysql_driver.c200 "No query specified for lookup. "
362 * The processing of result sets for lookup and authority are
368 mysql_process_rs(dns_sdlzlookup_t *lookup, MYSQL_RES *rs) argument
389 result = dns_sdlz_putrr(lookup, "a", 86400,
397 result = dns_sdlz_putrr(lookup, safeGet(row[0]), 86400,
414 result = dns_sdlz_putrr(lookup, safeGet(row[1]), ttl,
464 result = dns_sdlz_putrr(lookup, safeGet(row[1]),
702 /*% if the lookup function does not return SOA or NS records for the zone,
708 dns_sdlzlookup_t *lookup)
731 * lookup an
707 mysql_authority(const char *zone, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument
739 mysql_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
[all...]
H A Ddlz_postgres_driver.c373 "No query specified for lookup. "
632 * The processing of result sets for lookup and authority are
638 postgres_process_rs(dns_sdlzlookup_t *lookup, PGresult *rs) argument
660 result = dns_sdlz_putrr(lookup, "a", 86400,
667 result = dns_sdlz_putrr(lookup, PQgetvalue(rs, i, 0),
683 result = dns_sdlz_putrr(lookup, PQgetvalue(rs, i, 1),
731 result = dns_sdlz_putrr(lookup, PQgetvalue(rs, i, 1),
978 * if the lookup function does not return SOA or NS records for the zone,
984 dns_sdlzlookup_t *lookup)
1008 * lookup an
983 postgres_authority(const char *zone, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument
1017 postgres_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
[all...]
H A Ddlz_bdbhpt_driver.c298 * 1) kill speed by having lookup method use a secondary db which
302 * lookup performance.
305 * the lookup (dns_data) database, and a second time for the zone
312 * together to lookup the data in the dns_data database. YES -
531 void *dbdata, dns_sdlzlookup_t *lookup,
588 result = dns_sdlz_putrr(lookup, pd.type, pd.ttl, pd.data);
799 * bdbhpt_authority not needed as authority data is returned by lookup
530 bdbhpt_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
H A Ddlz_filesystem_driver.c786 void *dbdata, dns_sdlzlookup_t *lookup,
796 UNUSED(lookup);
819 "Filesystem driver lookup() Checking for path: '%s'\n",
848 result = process_dir(&dir, lookup, (config_data_t *) dbdata, NULL, 0);
785 fs_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
H A Ddlz_ldap_driver.c676 "No query specified for lookup. "
894 dns_sdlzlookup_t *lookup)
897 return (ldap_get_results(zone, NULL, NULL, AUTHORITY, dbdata, lookup));
913 void *dbdata, dns_sdlzlookup_t *lookup,
924 dbdata, lookup);
927 dbdata, lookup);
1043 result = dlz_ldap_checkURL(argv[8], 3, "lookup");
893 dlz_ldap_authority(const char *zone, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup) argument
912 dlz_ldap_lookup(const char *zone, const char *name, void *driverarg, void *dbdata, dns_sdlzlookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
/bind-9.11.3/lib/dns/
H A Dlookup.c9 /* $Id: lookup.c,v 1.21 2007/06/18 23:47:40 tbox Exp $ */
23 #include <dns/lookup.h>
55 static void lookup_find(dns_lookup_t *lookup, dns_fetchevent_t *event);
59 dns_lookup_t *lookup = event->ev_arg; local
64 REQUIRE(VALID_LOOKUP(lookup));
65 REQUIRE(lookup->task == task);
67 REQUIRE(fevent->fetch == lookup->fetch);
69 lookup_find(lookup, fevent);
73 start_fetch(dns_lookup_t *lookup) { argument
77 * The caller must be holding the lookup'
95 build_event(dns_lookup_t *lookup) argument
154 view_find(dns_lookup_t *lookup, dns_name_t *foundname) argument
172 lookup_find(dns_lookup_t *lookup, dns_fetchevent_t *event) argument
381 dns_lookup_t *lookup; local
453 dns_lookup_cancel(dns_lookup_t *lookup) argument
471 dns_lookup_t *lookup; local
[all...]
H A Dbyaddr.c25 #include <dns/lookup.h>
115 dns_lookup_t * lookup; member in struct:dns_byaddr
250 byaddr->lookup = NULL;
253 lookup_done, byaddr, &byaddr->lookup);
288 if (byaddr->lookup != NULL)
289 dns_lookup_cancel(byaddr->lookup);
304 dns_lookup_destroy(&byaddr->lookup);
/bind-9.11.3/contrib/dlz/modules/perl/
H A Ddlz_perl_driver.c235 "(did lookup return invalid record data?)",
387 void *dbdata, dns_sdlzlookup_t *lookup)
391 void *dbdata, dns_sdlzlookup_t *lookup,
429 rrcount = call_method("lookup", G_ARRAY|G_EVAL);
430 carp("DLZ Perl: Call to lookup returned %i", rrcount);
436 cd->log(ISC_LOG_ERROR, "DLZ Perl: lookup died in eval: %s",
455 "DLZ Perl: lookup returned an "
469 "DLZ Perl: lookup for record %s in "
478 retval = cd->putrr(lookup, SvPV_nolen(*rr_type),
483 "DLZ Perl: putrr for lookup o
386 dlz_lookup(const char *zone, const char *name, void *dbdata, dns_sdlzlookup_t *lookup) argument
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dchecker.c69 idn_checker_lookupproc_t lookup; member in struct:__anon70
382 TRACE(("idn_checker_lookup(): lookup %s\n",
385 r = (ctx->schemes[i].lookup)(ctx->schemes[i].context, ucs4,
409 idn_checker_lookupproc_t lookup) {
415 lookup != NULL);
435 scheme->lookup = lookup;
406 idn_checker_register(const char *prefix, idn_checker_createproc_t create, idn_checker_destroyproc_t destroy, idn_checker_lookupproc_t lookup) argument
/bind-9.11.3/contrib/sdb/pgsql/
H A Dpgsqldb.c108 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
113 dns_sdblookup_t *lookup)
163 result = dns_sdb_putrr(lookup, type, ttl, data);
321 * be returned by the lookup() function. Therefore the authority() function
107 pgsqldb_lookup(const char *zone, const char *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
/bind-9.11.3/contrib/sdb/sqlite/
H A Dsqlitedb.c65 dns_sdblookup_t *lookup; member in struct:_lookup_parm_t
91 parm->result = dns_sdb_putrr(parm->lookup, type, ttl, data);
105 dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods,
110 dns_sdblookup_t *lookup)
113 * synchronous absolute name lookup
118 lookup_parm_t parm = { 0, lookup, ISC_R_SUCCESS };
292 * be returned by the lookup() function. Therefore the authority() function
104 sqlitedb_lookup(const char *zone, const char *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
/bind-9.11.3/bin/named/
H A Dbuiltin.c36 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_
116 dns64_cname(const dns_name_t *zone, const dns_name_t *name, dns_sdblookup_t *lookup) argument
275 builtin_lookup(const char *zone, const char *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
292 dns64_lookup(const dns_name_t *zone, const dns_name_t *name, void *dbdata, dns_sdblookup_t *lookup, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo) argument
308 put_txt(dns_sdblookup_t *lookup, const char *text) argument
319 do_version_lookup(dns_sdblookup_t *lookup) argument
331 do_hostname_lookup(dns_sdblookup_t *lookup) argument
347 do_authors_lookup(dns_sdblookup_t *lookup) argument
389 do_id_lookup(dns_sdblookup_t *lookup) argument
406 do_dns64_lookup(dns_sdblookup_t *lookup) argument
412 do_empty_lookup(dns_sdblookup_t *lookup) argument
419 builtin_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) argument
[all...]
/bind-9.11.3/bin/tests/
H A Dadb_test.c231 lookup(const char *target) { function
358 lookup("f.root-servers.net."); /* Should be in hints */
359 lookup("www.iengines.com"); /* should fetch */
360 lookup("www.isc.org"); /* should fetch */
361 lookup("www.flame.org"); /* should fetch */
362 lookup("kechara.flame.org."); /* should fetch */
363 lookup("moghedien.flame.org."); /* should fetch */
364 lookup("mailrelay.flame.org."); /* should fetch */
365 lookup("ipv4v6.flame.org."); /* should fetch */
366 lookup("nonexistan
[all...]
/bind-9.11.3/contrib/dlz/modules/bdbhpt/
H A Ddlz_bdbhpt_dynamic.c303 * 1) kill speed by having lookup method use a secondary db which
307 * lookup performance.
310 * the lookup (dns_data) database, and a second time for the zone
317 * together to lookup the data in the dns_data database. YES -
530 void *dbdata, dns_sdlzlookup_t *lookup)
533 dns_sdlzlookup_t *lookup,
592 result = db->putrr(lookup, pd.type, pd.ttl, pd.data);
529 dlz_lookup(const char *zone, const char *name, void *dbdata, dns_sdlzlookup_t *lookup) argument
/bind-9.11.3/contrib/dlz/modules/filesystem/
H A Ddlz_filesystem_dynamic.c742 void *dbdata, dns_sdlzlookup_t *lookup)
746 void *dbdata, dns_sdlzlookup_t *lookup,
758 UNUSED(lookup);
779 "Filesystem driver lookup() Checking for path: '%s'\n", path);
804 result = process_dir(&dir, lookup, cd, NULL, 0);
741 dlz_lookup(const char *zone, const char *name, void *dbdata, dns_sdlzlookup_t *lookup) argument
/bind-9.11.3/contrib/dlz/modules/ldap/
H A Ddlz_ldap_dynamic.c473 dns_sdlzlookup_t *lookup = (dns_sdlzlookup_t *) ptr; local
474 result = db->putrr(lookup, type, ttl, data);
637 "No query specified for lookup. "
834 dlz_authority(const char *zone, void *dbdata, dns_sdlzlookup_t *lookup) { argument
835 return (ldap_get_results(zone, NULL, NULL, AUTHORITY, dbdata, lookup));
857 void *dbdata, dns_sdlzlookup_t *lookup)
860 void *dbdata, dns_sdlzlookup_t *lookup,
874 dbdata, lookup);
877 dbdata, lookup);
992 result = ldap_checkURL(ldap, argv[8], 3, "lookup");
856 dlz_lookup(const char *zone, const char *name, void *dbdata, dns_sdlzlookup_t *lookup) argument
[all...]

Completed in 38 milliseconds

12