improve debug logging
adjust time warning for dns timeout