/usr/share/doc/libtcl-chiark-1/adns.c.txt is in libtcl-chiark-1 1.1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | /*
* adns lookup TYPE DOMAIN [QUERY-OPTIONS] => [list RDATA]
* if no or dontknow, throws an exception, with errorCode one of
* ADNS permfail 300 nxdomain {No such domain}
* ADNS permfail 301 nodata {No such data}
* ADNS tempfail ERROR-CODE ERROR-NAME ERROR-STRING
* where
* ERROR-CODE is the numerical adns status value
* ERROR-NAME is the symbolic adns status value (in lowercase)
* ERROR-STRING is the result of adns_strstatus
*
* adns synch TYPE DOMAIN [QUERY-OPTIONS] => RESULTS
* RESULTS is [list ok|permfail|tempfail
* ERROR-CODE ERROR-NAME ERROR-STRING \
* OWNER CNAME \
* [list RDATA ...]]
* OWNER is the RR owner
* CNAME is the empty string or the canonical name if we went
* via a CNAME
*
* adns asynch ON-YES ON-NO ON-DONTKNOW XARGS \
* TYPE DOMAIN \
* [QUERY-OPTIONS...] => QUERY-ID
* calls, later,
* [concat ON-YES|ON-NO|ON-DONTKNOW XARGS RESULTS]
* adns asynch-cancel QUERY-ID
*
* QUERY-OPTIONS are zero or more of
* -resolver RESOLVER (see adns new-resolver)
* default is to use a default resolver
* -search
* -usevc
* -quoteok-query
* -quoteok-anshost
* -quotefail-cname
* -cname-loose
* -cname-forbid
* -reverse
* -reverse-any ZONE-A-LIKE
*
* adns new-resolver [RES-OPTIONS...] => RESOLVER
* options:
* -errfile stdout|stderr (stderr is the default)
* -noerrprint
* -errcallback CALLBACK results in eval CALLBACK [list MESSAGE]
* -noenv|-debug|-logpid
* -checkc-entex
* -checkc-freq
* -config CONFIG-STRING
*
* adns set-default-resolver RESOLVER
* cancels any outstanding queries from a previous anonymous
* default resolver
*
* adns destroy-resolver RESOLVER
* cancels outstanding queries
*
*/
/* ---8<--- end of documentation comment --8<-- */
|