Splunk Search

DNS Query doesnt look right

DerekKing
Path Finder

Hi All,

Not sure im in the right place for this, but i'm hoping someone understands.

I've configured splunk to show me DNS queries to bad domains, which is great. But it raises more questions than answers.

As I understand Rcv lines are the IP where the request came from and Snd are what the DNS server gave as an answer. My logic is that I should only have Rcv lines from internal addresses ?

Why might I see Rcv from external addresses please ?

1 » 09/11/2013 10:00:45.000 20131109 10:00:45 1570 PACKET UDP Snd 10.40.0.44 2f71 R Q [0084 A NOERROR] .otnnetwork.net.host=builbdc1 Options| sourcetype=dns_queries Options| source=c:\windows\system32\dns\dns.log Options

2 » 09/11/2013 10:00:45.000 20131109 10:00:45 1570 PACKET UDP Rcv 205.251.195.116 21e9 R Q [0084 A NOERROR] .otnnetwork.net.host=builbdc1 Options| sourcetype=dns_queries Options| source=c:\windows\system32\dns\dns.log Options

3 » 09/11/2013 10:00:45.000 20131109 10:00:45 153C PACKET UDP Snd 205.251.195.116 21e9 Q [0000 NOERROR] .otnnetwork.net.host=builbdc1 Options| sourcetype=dns_queries Options| source=c:\windows\system32\dns\dns.log Options

4 » 09/11/2013 10:00:45.000 20131109 10:00:45 153C PACKET UDP Rcv 192.12.94.30 21e9 R Q [0080 NOERROR] .otnnetwork.net.host=builbdc1 Options| sourcetype=dns_queries Options| source=c:\windows\system32\dns\dns.log Options

5 » 09/11/2013 10:00:45.000 20131109 10:00:45 153C PACKET UDP Snd 192.12.94.30 21e9 Q [0000 NOERROR] .otnnetwork.net.host=builbdc1 Options| sourcetype=dns_queries Options| source=c:\windows\system32\dns\dns.log Options

6 » 09/11/2013 10:00:45.000 20131109 10:00:45 153C PACKET UDP Rcv 10.40.0.44 2f71 Q [0001 D NOERROR] .otnnetwork.net.host=builbdc1 Options| sourcetype=dns_queries Options| source=c:\windows\system32\dns\dns.log Options

Thanks
Derek

Tags (1)
0 Karma

kogane
Path Finder

The Rcv from external IPs are showing incoming packets from external DNS servers. The DNS server you're monitoring is performing recursive queries, so it has to get the answer for external domains from an external DNS server. Your log is showing you all incoming and outgoing DNS packets.,The Rcv lines from external addresses are showing you responses from external DNS servers. Since the DNS server you're monitoring is a recursive resolver, it will ask other DNS servers on the Internet for answers. The log is just showing you all the incoming and outgoing packets related to the query.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...