I am trying to block all incoming connection with IPTABLES and selectively allow ports and services. That is working fine, but when I do that, I can not perform outgoing DNS queries correctly. I have tried to allow incoming port 53 TCP and UDP for DNS but that didn't work either. Oh and all outgoing traffic is allowed.
This is the output of iptables -L -n -V http://pastebin.com/qNGJQq7J