| SYNOPSIS | 
#include <dkim.h>
int dkim_dns_set_nslist(
	DKIM_LIB *libopendkim,
        int (*func)(void *, const char *)
);
Declares the function to be used by a libopendkim instance when it needs to
replace the set of nameservers used by a DNS resolver.  By default, a stub
function that configures the standard system resolver (when supported) is
set.
The function will be passed the following arguments:
 
 The function is expected to return one of the following: A pointer to a handle that refers to the instantiated
      resolver service, via a prior call to to the initialization
      function defined by
      dkim_dns_set_init().
  A pointer to NULL-terminated, comma-separated list of nameservers to
      be used.  The underlying implementation may not use all of the ones
      provided as it might have a fixed limit.  Consult your resolver's
      documentation.
 
 DKIM_DNS_SUCCESS -- query was successfully canceled
 DKIM_DNS_ERROR -- an error occurred
 | 
|---|