All Apps and Add-ons

Specify DNS Server for dnslookup

salem34
Path Finder

Hi Ninjas

Im aware that you can resolve ips & hosts with the built in dnslookup like

<search> | lookup dnslookup clientip as dst OUTPUT clienthost as DST_RESOLVED

But is there a way to specify the DNS Server to resolve the ips? I think by default i takes the default dns entry of the splunk machine and i would like to specify another one (without touching the command script).

Any ideas?

arindamlaha
Explorer

I found this link in splunk answers ...however when I tried to use it threw python exception.
link text

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...