catch the dns error and display it nicely