Fixed not catching NXDOMAIN exceptions