Moving to the built-in dogapi hostname method.
Tweaking the way the error content appears.