Fields and methods of the jala.DnsClient class.
Constructs a new DnsClient object.
parameters
String | nameServer | IP-Address or FQDN of nameserver to query |
methods
- query(dName, queryType)
- queryMailHost(dName)
properties
- String nameServer
Constructs a new instance of jala.DnsClient.Record.
parameters
org.wonderly.net.dns.RR | data | The data as received from the nameserver |
methods
- getData()
properties
- Number type
- String host
- String ipAddress
- String cname
- String mx
- String email
- String text
Contains the IP Adress/FQDN of the name server to query.
The "A" record/query type.
The "CNAME" record/query type.
The "MX" record/query type.
The "NS" record/query type.
The "PTR" record/query type.
The "SOA" record/query type.
The "TXT" record/query type.
The "WKS" record/query type.
The type of the nameserver record represented by this Answer instance.
see
The name of the host. This will only be set for records
of type A, AAAA and NS.
see
The IP address of the host. This will only be set for records
of type A and AAAA
see
The CNAME of this record. This will only be set for records
of type CNAME
see
The name of the mail exchanging server. This is only set for
records of type MX
see
The email address responsible for a name server. This property
will only be set for records of type SOA
see
Descriptive text as received from the nameserver. This is only
set for records of type TXT
see
Methods
Queries the nameserver for a specific domain
and the given type of record.
parameters
String | dName | The domain name to query for |
Number | queryType | The type of records to retrieve |
returns
The records retrieved from the nameserver |
Convenience method to query for the MX-records
of the domain passed as argument.
parameters
String | dName | The domain name to query for |
returns
The records retrieved from the nameserver |
Returns the wrapped nameserver record data
returns
The wrapped data |