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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...