various fixes, new ncheck_dns