LassoScript Utility
Basics Browse Detail

[DNS_Default]

Tag Link [DNS_Default] Category Utility
Type Substitution Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type Array Security None
Implementation Internal Sets Lasso 8.5

Description

[DNS_Default] is a helper tag which is used internally by the [DNS_Lookup] tag. This tag returns an array containing the default DNS hosts for the current machine. These are the hosts defined in the system network preferences. Lasso wil use the first DNS host from this list by default unless a specific DNS host has been defined in Lasso Site Administration.

Note: Lasso's DNS tags only support DNS hosts which communicate through TCP. The DNS host built into some DSL/Cable modem gateways only support UDP communications and cannot be used through Lasso. In order to use the DNS tags (and the MX lookup feature for direct sending of SMTP email) it may be necessary to specify a valid DNS host either in the system network preferences or in the Setup > Site > Lasso Settings section of Lasso Stie Administration.

Syntax

[DNS_Default]

Parameters

No Parameters Required.

Examples

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