# OpenBSD with adsuck: nslookup works, other applications not

(The problem that nslookup works but other applications can't resolve name is asked very often, mainly for windows. I read a lot of these answers but none of them was applicable.)

cp /etc/resolv.conf /var/adsuck/files
echo "nameserver 127.0.0.1" > /etc/resolv.conf


The deamon is running with two process from user _adsuck:

/usr/local/sbin/adsuck -c /var/adsuck -f /files/resolv.conf -r /files/regex /files/hosts.small


I can resolve names with nslookup or dig, but ping or browser does not work. What can be the problem?

Edited:

::1 localhost #[IPv6]


nslookup doesn't use the base resolver libraries, it uses its own. Those mechanisms that often act a bit differently from the base resolver routines. It can be "fun" when you are using it to test and don't know that.