RES_INSECURE2 and OpenBSD's libresolv

Mark_Andrews at Mark_Andrews at
Tue Jun 18 23:51:36 UTC 2002

> Can somebody explain toy me what exactly RES_INSECURE2 does?  I had a
> setup where I needed to enable option insecure2 in /etc/resolv.conf
> (OpenBSD 3.1) in order for applications like ftp anf telnet to resolve
> Without insecure2 the machine could not resolve CNAMEs, with it could.
> So how does this option affrects resolving?

	Well if you need RES_INSECURE2 then your nameserver need to be

	RES_INSECURE2 checks that the name in the answer matches
	that in the query.


> -- 
> #include <std/disclaimer.h> /* adamo at */
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at

More information about the bind-users mailing list