TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
3.83k stars 399 forks source link

Why are there so many UDP sockets listed by netstat? #854

Closed rgl closed 4 months ago

rgl commented 4 months ago

I'm trying this project for the first time, which I'm not sure if its normal, it seems something is wrong, as there are lots of UDP sockets showing up, in this case, DnsService.exe process has the 13224 PID, which this filters out:

# netstat -ano|grep ' 13224$'
  TCP    0.0.0.0:5380           0.0.0.0:0              LISTENING       13224
  TCP    192.168.192.1:53       0.0.0.0:0              LISTENING       13224
  TCP    [::]:5380              [::]:0                 LISTENING       13224
  TCP    [::1]:5380             [::1]:52794            ESTABLISHED     13224
  UDP    0.0.0.0:1037           *:*                                    13224
  UDP    0.0.0.0:1063           *:*                                    13224
  UDP    0.0.0.0:1075           *:*                                    13224
  UDP    0.0.0.0:1077           *:*                                    13224
  UDP    0.0.0.0:1101           *:*                                    13224
  UDP    0.0.0.0:1102           *:*                                    13224
  UDP    0.0.0.0:1106           *:*                                    13224
  UDP    0.0.0.0:1117           *:*                                    13224
...

At this time, there are about 2600 sockets listed.

Can you help me understand why is this happening?

ShreyasZare commented 4 months ago

Thanks for the post. Please read issue #782.