Every time I connect to a wifi network /etc/resolv.conf is empty. I have vpnc installed
cat /etc/vpnc/resolv.conf-backup >/etc/resolv.conf