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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

&#x1f342; Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...