chiark / gitweb /
Config parsing: Provide a way to ignore unknown resolv.conf contents
[adns.git] / src / adns.h
index 4cabc4a3a7822f4c2fbd7968971ba5d2e0b524b8..a6599f6db3cb13e8e5e1c4b1cc754b706bdb1e99 100644 (file)
@@ -589,6 +589,12 @@ int adns_init_logfn(adns_state *newstate_r, adns_initflags flags,
  *   Lookups occur (logically) concurrently; use the `sortlist' directive to
  *   control the relative order of addresses in answers.  This option
  *   overrides the corresponding init flags (covered by adns_if_afmask).
+ *
+ *  adns_ignoreunkcfg
+ *   Ignore unknown options and configuration directives, rather than
+ *   logging them.  To be effective, appear in the configuration
+ *   before the unknown options.  ADNS_RES_OPTIONS is generally early
+ *   enough.
  * 
  * There are a number of environment variables which can modify the
  * behaviour of adns.  They take effect only if adns_init is used, and