Lasso Soft Inc. > Home

[ DNS_Response->Answer ]

Method

[DNS_Response->Answer] wil return an array of answers for most DNS responses. Address lookups or reverse lookups will return an array of IP addresses or host names. MX record lookups wil return an array of pairs each with a priority and an IP address. Other lookups may return an array of strings or other data.

[DNS_Response] is a helper type which is used to format both DNS requests and responses. Normally a value of this type will only be returned from the [DNS_Lookup] tag when -ShowRequest or -ShowResponse is specified. However, this type can also be used to parse raw DNS requests or response if necessary.

  • Syntax
local(myDNSResponse = DNS_Lookup('www.lassosoft.com',-showResponse))
#myDNSResponse->Answer
Examples

No examples found

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft