Added in the DNS code and a few more checks in the regression tests