agent: Provide better DNS setup error messages