Tries to create a resolver from a resolv.conf file.
ldns-resolver file
ldns-resolver tries to create a resolver from a resolv.conf file. This is only useful to test the library for robusteness with input data.
ldns-resolver takes a filename of the resolv.conf file as input. For example ldns-resolver /etc/resolv.conf will show if the file can be parsed successfully.
Written by the ldns team as an example for ldns usage.
Report bugs to <[email protected]>.
Copyright (C) 2005 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.