summaryrefslogtreecommitdiff
path: root/lib/custodian/util/dns.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 20:40:46 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 20:40:46 +0000
commit3fafb93c4e7c22fe7d290327fe5b7d24174dec21 (patch)
treea2f4b5275a6ebb0ea17fa61a86c714619f6338ab /lib/custodian/util/dns.rb
parent94a3f6221c12099bb38a11030f053b90515179b5 (diff)
Removed test/driver-code.
Diffstat (limited to 'lib/custodian/util/dns.rb')
-rw-r--r--lib/custodian/util/dns.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/custodian/util/dns.rb b/lib/custodian/util/dns.rb
index fca3f95..a26cc96 100644
--- a/lib/custodian/util/dns.rb
+++ b/lib/custodian/util/dns.rb
@@ -65,17 +65,3 @@ module Custodian
end
end
-
-
-
-
-if __FILE__ == $0 then
-
- %w( ssh.steve.org.uk ipv6.steve.org.uk ).each do |name|
- puts "Hostname test: #{name} #{Custodian::Util::DNS.hostname_to_ip(name) }"
- end
-
- %w( 80.68.85.46 80.68.85.48 2001:41c8:125:46::22 ).each do |name|
- puts "Hostname test: #{name} #{Custodian::Util::DNS.ip_to_hostname(name) }"
- end
-end