fixes #7352 - missing DNS record returns 404

Not going to work here, as the exception will be recast as ```Proxy::Dns::Error```.