I have options inet6 in /etc/resolv.conf, but few programs, for example links webbrowser, have problem using ipv6-mapped ipv4 addresses. So In meantime of fixing such problems, i would like to have inet6 disabled for such programs. I was thinking that export RES_OPTIONS="" will fix this, but apperently it do not. It looks that there is no way disabling options which are already enabled in /etc/resolv.conf, using just RES_OPTIONS variable.