Splunk Enterprise Security

Error When Using DNSLOOKUP Command

alonsocaio
Contributor

I`m trying to run a search using dnslookup.

index=MY_INDEX host=MY_HOST
| lookup dnslookup clienthost as host output clientip as ip_address

I run the search from one of my SH and from my Indexers and It runs successfully. But when the search runs in my other SH, I got the errors below:

[INDEXER_1] Could not find 'external_lookup.py'. It is required for lookup 'dnslookup'.
[INDEXER_1] Streamed search execute failed because: Error in 'lookup' command: Lookups: The lookup table 'dnslookup' does not exist or is not available.
[INDEXER_2] Could not find 'external_lookup.py'. It is required for lookup 'dnslookup'.
[INDEXER_2] Streamed search execute failed because: Error in 'lookup' command: Lookups: The lookup table 'dnslookup' does not exist or is not available.
[INDEXER_3] Could not find 'external_lookup.py'. It is required for lookup 'dnslookup'.
[INDEXER_3] Streamed search execute failed because: Error in 'lookup' command: Lookups: The lookup table 'dnslookup' does not exist or is not available.

All the configuration files in both Search Heads are the same. Does anyone have any tips about this issue?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

What You Read the Most in 2026: Splunk Lantern's Most Popular Articles, Top Themes, ...

Splunk Lantern is Splunk's customer success center that provides practical guidance from Splunk experts on key ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

The Data Connection - November 2026

Machine data keeps growing, and every new source brings practical questions: where should it live, how ...