| 
 | Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--jala.DnsClient
   
This is a wrapper around the Dns Client by wonderly.org
 providing methods for querying Dns servers. For more information
 about the Java DNS client visit
 https://javadns.dev.java.net/.
 Please mind that the nameserver specified must accept queries on port
 53 TCP (the Java DNS client used doesn't support UDP nameserver queries),
 and that reverse lookups are not supported.
 
Defined in DnsClient.js
   
| Nested Class Summary | |
| <static class> | jala.DnsClient.Record | 
| Field Summary | |
|  String | nameServerContains the IP Adress/FQDN of the name server to query. | 
| <static>  <final> Number | TYPE_AThe "A" record/query type. | 
| <static>  <final> Number | TYPE_CNAMEThe "CNAME" record/query type. | 
| <static>  <final> Number | TYPE_MXThe "MX" record/query type. | 
| <static>  <final> Number | TYPE_NSThe "NS" record/query type. | 
| <static>  <final> Number | TYPE_PTRThe "PTR" record/query type. | 
| <static>  <final> Number | TYPE_SOAThe "SOA" record/query type. | 
| <static>  <final> Number | TYPE_TXTThe "TXT" record/query type. | 
| <static>  <final> Number | TYPE_WKSThe "WKS" record/query type. | 
| Constructor Summary | |
| 
	 
	    jala.DnsClient 
	 
	 (<String> nameServer)
      Constructs a new DnsClient object. | |
| Method Summary | |
|  org.wonderly.net.dns.RR | 
	    
	       query(<String> dName, <Number> queryType)
	 Queries the nameserver for a specific domain and the given type of record. | 
|  org.wonderly.net.dns.RR | 
	    
	       queryMailHost(<String> dName)
	 Convenience method to query for the MX-records of the domain passed as argument. | 
| Field Detail | 
String nameServer
<static> <final> Number TYPE_A
<static> <final> Number TYPE_CNAME
<static> <final> Number TYPE_MX
<static> <final> Number TYPE_NS
<static> <final> Number TYPE_PTR
<static> <final> Number TYPE_SOA
<static> <final> Number TYPE_TXT
<static> <final> Number TYPE_WKS
| Constructor Detail | 
jala.DnsClient(<String> nameServer)
nameServer -  IP-Address or FQDN of nameserver to query  
     | Method Detail | 
org.wonderly.net.dns.RR query(<String> dName, <Number> queryType)
dName -  The domain name to query for  
      queryType -  The type of records to retrieve  
      org.wonderly.net.dns.RR queryMailHost(<String> dName)
dName -  The domain name to query for  
      | 
 | Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||