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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...