Skip to content

dnsmasq is opening a lot of udp ports, and stops responding #26

Open
@oudmane

Description

I deployed this in a server, and I also deployed an ipsec vpn server When I connect to the VPN, and use 172.17.0.1 a DNS server, the dns server works for seconds, than stops responding.

I'm not good with networking, but I thought it could be an ufw or iptables issue, so I ran this command netstat -tulpn and I found a lot of udp ports oppened by dnsmasq

Here is what it shows Me

root@server:~# netstat -tulpn | grep dnsmasq
tcp        0      0 172.17.0.1:53           0.0.0.0:*               LISTEN      1619759/dnsmasq     
udp        0      0 0.0.0.0:1079            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:34132           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:34430           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:1696            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:34504           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:2352            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:35495           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:2979            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:3575            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:36395           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:36670           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:4765            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:38233           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:38850           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:6292            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:40249           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:7619            0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:41246           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:41793           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:43112           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:10632           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:43955           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:45326           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:45515           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:46562           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:14707           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:47606           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:15110           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:48411           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:15957           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:48793           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:16082           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:16200           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:16243           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:16255           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:49337           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:49658           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:49768           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:50477           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:18003           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:21018           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:54104           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:56667           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:57025           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:58336           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:59052           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:60122           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:27414           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:60547           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:27894           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:61420           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:28773           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:62413           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:62644           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:62996           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:30273           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:30824           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:31150           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:31515           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:64713           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:64720           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:32251           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:65066           0.0.0.0:*                           1619759/dnsmasq     
udp    30720      0 172.17.0.1:53           0.0.0.0:*                           1619759/dnsmasq     
udp        0      0 0.0.0.0:33067           0.0.0.0:*                           1619759/dnsmasq

Can you please, help Me or direct Me or give Me ideas, why this could be happening ?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions