DNS Lookup Function(4.0)
lookUpDNS
Sends a lookup query to the stated host and returns the result
drudr lookUpDNS
( string queryType,
string queryString,
string host,
int port,
int timeout,
int retries )
Â
Parameter | Description |
---|---|
| The query type to be used, for example, NAPTR, AAAA, CNAME, etc. For a full list, see https://javadoc.io/static/dnsjava/dnsjava/3.3.1/org/xbill/DNS/Type.html |
| The string to be used in the query. |
| The host that should be used for the lookup. |
| The port that should be used for the lookup. |
| The number of milliseconds to wait before timeout. |
| The number of retries you want to make before returning an error code and proceeding. |
Returns | Â A |
Â