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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...