Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lookUpDNS

Sends a lookup query to the stated host and returns the result

Code Block
drudr lookUpDNS 
	( string queryType, 
	  string queryString, 
	  string host, 
	  int port, 
	  int timeout, 
	  int retries )

Parameter

Description

queryType

The query type to be used, for example,

e g

NAPTR,

AAA

AAAA, CNAME, etc. For a full list, see

http

https://

www.dnsjava.org/doc

javadoc.io/static/dnsjava/dnsjava/3.3.1/org/xbill/DNS/Type.html

.

queryString

The string to be used in the query.

host

The host that should be used for the lookup.

port

The 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)

...