Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DNS Query from Some Workstations Not Resolving

    DHCP and DNS
    2
    2
    207
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gareth 0
      last edited by Gareth 0

      This post is deleted!
      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Gareth 0
        last edited by Gertjan

        @Gareth-0 said in DNS Query from Some Workstations Not Resolving:

        From a specific Linux VM (172.17.20.250/24) it can ping the psfense device (172.17.20.1/24), but when I perform an nslookup I get the error:
        root@pve:~# nslookup ibm.com
        ;; communications error to 172.17.20.1#53: timed out
        ;; communications error to 172.17.20.1#53: timed out
        ;; communications error to 172.17.20.1#53: timed out
        ;; no servers could be reached

        172.17.20.1 is your pfSense, right ?

        Check if the resolver is actually running;, this says something :
        917269d7-1b38-42e4-b4a5-9a6ebc41f308-image.png

        This is better :

        [23.09.1-RELEASE][root@pfSense.bhf.tld]/root: ps ax | grep 'unbound'
        ....
        60596  -  Ss       0:10.50 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
        ....
        

        and this checks what process is listing on port '53' :

        [23.09.1-RELEASE][root@pfSense.bhf.tld]/root: sockstat -4 | grep ':53'
        unbound  unbound    60596 5   udp4   *:53                  *:*
        unbound  unbound    60596 6   tcp4   *:53                  *:*
        unbound  unbound    60596 18  udp4   192.168.10.4:7656     150.171.16.34:53
        avahi    avahi-daem 70288 13  udp4   *:5353                *:*
        

        The first two lines tell me that unbound is listening on every interface, for IPv4 and IPv6, on port 53 using TCP and UDP.

        The LAN firewall rules have to permit UDP (and TCP !!) traffic to port 53. The default LAN firewall rule will do the job.

        55fa8ac7-460f-4b41-9edd-fac2d9d00915-image.png

        If any of these conditions is false, no 'DNS' for you on LAN.

        @Gareth-0 said in DNS Query from Some Workstations Not Resolving:

        dig @1.1.1.1 ibm.com
        ;; communications error to 1.1.1.1#53: connection refused
        ;; communications error to 1.1.1.1#53: connection refused
        ;; communications error to 1.1.1.1#53: connection refused

        Which means : from your device, you cant' reach "1.1.1.1".
        Or no traffic to port '53' is allowed .....

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.