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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...