All Apps and Add-ons

DNS lookup not happening with TCP syslog

cbalmer
Engager

I have a lot of Cisco equipment sending syslog data to my Splunk server. Some of this equipment is using TCP (ones with packet loss in the path) and others are using UDP.

The systems sending via UDP have no issues. Splunk looks up their hostname with reverse DNS of the source IP and enters the data under the correct host.

However any system sending via TCP does not get the same treatment. Splunk does not do reverse DNS and instead enters it under the host of the IP address. If I switch one of these systems to UDP, Splunk correctly does reverse DNS and those entries show up under the hostname and not the IP. Switch the system back to TCP and the entries go under the IP again.

Here are the inputs.conf entries for both:

# cat apps/launcher/local/inputs.conf 
[udp://514]
connection_host = dns
sourcetype = syslog

[tcp://514]
connection_host = dns
sourcetype = syslog
disabled = 0

How can I get reverse DNS functioning for syslog running over TCP?

Tags (4)
0 Karma

tvaniderstine
Explorer

Its been 5 years. can someone from Splunk answer this one, since its still a problem.

0 Karma

dkuk
Path Finder

Hi,
Did you manage it resolve this (I appreciate it was a while back).

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...