LassoScript Utility
Basics Browse Detail

[DNS_Response->Format]

Tag Link [DNS_Response->Format] Category Utility
Type Member Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type String Security None
Implementation LassoScript Sets Lasso 8.5

Description

[DNS_Response->Format] formats the DNS request or response so it user readable. This is a good choice for displaying the results of a DNS query to a site visitor since it will include the answer as well as supporting details like the DNS server queried.

[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

[Var: 'myDNSResponse' = (DNS_Lookup: 'www.example.com')]

[$myDNSResponse->Format]

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.