| Class | Dnsruby::Resolv |
| In: |
lib/dnsruby.rb
|
| Parent: | Object |
They lookups IP addresses of ((|name|)) which represents a hostname as a string by default resolver.
lookups hostnames of ((|address|)) which represents IP address as a string.
The DNS class may be used to perform more queries. If greater control over the sending of packets is required, then the Resolver or SingleResolver classes may be used.
| DefaultResolver | = | self.new |
| AddressRegex | = | /(?:#{IPv4::Regex})|(?:#{IPv6::Regex})/ |