Artturi noted that the bug is not about DNS proxy itself. I think Ubuntu Lucid and upwards handle this a bit differently in libc. At the moment, I have the following in my /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
I can make the problem go away by swapping the "files" and "dns" entities.
Artturi noted that the bug is not about DNS proxy itself. I think Ubuntu Lucid and upwards handle this a bit differently in libc. At the moment, I have the following in my /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
I can make the problem go away by swapping the "files" and "dns" entities.