Automation Action – DNS Lookup | ThinkAutomation

Automation Action: DNS Lookup

Perform a DNS Lookup and assign the returned data to a variable.

Performs a DNS Lookup and assigns the returned data to a variable.

In the Lookup entry enter an IP Address or Hostname. If an email address is used ThinkAutomation will automatically use the domain part (the section after the @ sign).

Select the DNS Record Type to lookup. Here you can select any valid DNS type.

The DNS Server entry allows you to specify a specific DNS server IP address to use for the lookup. Leave blank to use the system default.

You must then select the variable to assign the result to by selecting from the Assign Result To list. If the lookup fails – the variable will be set to Error: .

Results will be returned as FieldName: Value format. The fields returned depend on the DNS Record Type.

For example, an MX lookup of test@google.com would return:

PREFERENCE: 50 EXCHANGE: alt4.aspmx.l.google.com

If the lookup fails an error is returned:

Error: 3 Name error

This Action is useful for validating email addresses. If an error is not returned then the email address has a valid MX record.

This is one action from over 180 actions included with ThinkAutomation. The ThinkAutomation business process automation (BPA) solution is designed to automate on-premises and cloud-based business processes that are triggered from incoming messages. Automate messages received by email, database updates, webhooks, web forms, web chat, SMS messages, Twitter, Teams messages, documents, local files and other messages sources. Create any number of workflow automations using the drag-and-drop low-code designer. Simple fixed pricing, with unlimited message processing reduces overall costs compared to hosted automation solutions.

You can also extend ThinkAutomation by creating your own custom automation actions using the built-in designer and C#/VB.net code editor.

Download Free 30 Day Trial

Back To Automation Actions List

ThinkAutomation Home