Updated dns.rb to be more user friendly