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
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...