A simple tool for testing DNS, useful if you do not have access to the underlying server.
Configure DNSTest on Cortes XSOAR
- Navigate to Settings > Integrations > Servers & Services.
- Search for DNSTest.
- Click Add instance to create and configure a new integration instance.
| Parameter | Description | Required |
|---|---|---|
| Default domain | The domain to query for during inital testing (default: google.com) | False |
| Timeout | Time in seconds to wait for response from DNS server (default: 1 sec) | False |
- Click Test to verify operation, using default or provided parameters.
Commands
Run these commands from the Cortex XSOAR CLI
dns-test-get-resolvers
Returns the nameserver IP addresses configured for the host (e.g. in /etc/resolv.conf)
Example: !dns-test-get-resolvers
dns-test-resolve-domain
Queries all available resolvers for A, AAAA and CNAME records for the provided domain name and returns the results. Optionally increase the wait time for the query by passing a timeout value greater than 1
Example: !dns-test-resolve-domain domain=test.com [timeout=5]