|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Resolves dns records.
| Method Summary | |
Attributes |
lookup(String host,
String type)
Performs a DNS lookup to retrieve the DNS records for the given host. |
| Method Detail |
public Attributes lookup(String host,
String type)
throws NamingException
The type parameter represents the record type. For example:
lookup("microsoft.com", "A")
Will return all the "A" records for microsoft.com
The jASEN engine will use this DNS resolver if specified, otherwise the internal DNS resolver will be used
host - The web host to lookuptype - The type of DNS entry to be returned (eg. A or MX)
NamingException - If the name could not be found
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||