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

DNS Query from Some Workstations Not Resolving

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 2 Posters 213 Views
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 Feb 28, 2024, 6:36 AM Feb 28, 2024, 5:38 AM

    This post is deleted!
    G 1 Reply Last reply Feb 28, 2024, 6:59 AM Reply Quote 0
    • G
      Gertjan @Gareth 0
      last edited by Gertjan Feb 28, 2024, 7:00 AM Feb 28, 2024, 6:59 AM

      @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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received