Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

lookUpDNS

Sends a lookup query to stated host and returns the result

drudr lookUpDNS 
	( string queryType, 
	  string queryString, 
	  string host, 
	  int port, 
	  int timeout, 
	  int retries )
ParameterDescription
queryType The query type to be used, e g NAPTR, AAA, CNAME, etc. For full list, see http://www.dnsjava.org/doc/org/xbill/DNS/Type.html.
queryStringThe string to be used in the query.
hostThe host that should be used for the lookup.
portThe port that should be used for the lookup.
timeout

The number of milliseconds to wait before timeout.

retries

The number of retries you want to make before returning an error code and proceeding.

Returns A DNSResponseUDR containing the lookup result (list<DNSRecordUDRs>), status code (int) and error message (string)


  • No labels