diff options
-rw-r--r-- | lib/custodian/protocoltest/dns.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/dns.rb b/lib/custodian/protocoltest/dns.rb index d5cac93..4053747 100644 --- a/lib/custodian/protocoltest/dns.rb +++ b/lib/custodian/protocoltest/dns.rb @@ -105,7 +105,7 @@ module Custodian # expected = 0 if ( results != @resolve_expected ) - @error = "The expected result '#{@resolve_expected}' didn't match the returned results '#{results}'" + @error = "When resolving the name #{@resolve_name} [#{resolve_type}-record lookup] against DNS-server #{@host} we received an error. The expected result '#{@resolve_expected}' didn't match the returned results '#{results}'" return false end @@ -150,7 +150,7 @@ module Custodian end end rescue Timeout::Error => e - @error = "Timed-out connecting #{e}" + @error = "Timed-out performing DNS lookups #{e}" return nil end |