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

    DNS Resolver doesn't work

    Scheduled Pinned Locked Moved General pfSense Questions
    26 Posts 4 Posters 1.5k 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.
    • O
      orphen76
      last edited by orphen76

      Hi to all,
      I have the pfsnse with a lan and a wan configured.
      the lan is given by a bridge between three ethernet ports of the firewall.
      Unfortunately I can't navigate with any of the workstations connected to the lan.
      the firewall can access to internet, in fact it is possible to check updates and download packages

      Anyone can help me?

      thanks

      GertjanG johnpozJ 2 Replies Last reply Reply Quote 0
      • GertjanG
        Gertjan @orphen76
        last edited by

        @orphen76

        Please show the DHCP server settings for your LAN.

        Can you confirm, that, after the initial setup : a WAN, a (one) LAN, and several non used Ethernet ports, all as well = when you connect a device to the LAN, it obtained a DHCP lease from pfSense, the LAN DHCP server ?

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

        O 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @orphen76
          last edited by

          @orphen76 you could also have a issue where pfsense gets its dns from dhcp on its wan. And can use that to check for updates when resolving doesn't work. But your clients asking pfsense for dns, unbound would resolve out of the box, and possible that is blocked upstream.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            So can we assume you can connect by IP from a LAN side client? Like 'ping 8.8.8.8' ?

            When you add a bridge you may need more firewall rules. What rules have you added?

            1 Reply Last reply Reply Quote 0
            • O
              orphen76 @Gertjan
              last edited by

              @Gertjan I obtained a DHCP lease from pfSense,always
              @stephenw10 Yes, Can I ping without issue, Rule on bridge only one, pass all
              @johnpoz How can I check this?

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @orphen76
                last edited by

                @orphen76 well from your clients can you do a dns query?

                use your fav tool, nslookup, dig, host, doggo, etc. etc.

                To see if the resolver is working pfsense.. you could use the dns lookup tool, in pfsense diagnostic.. Do you see an answer from 127.0.0.1

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                O 2 Replies Last reply Reply Quote 0
                • O
                  orphen76 @johnpoz
                  last edited by

                  @johnpoz YES

                  johnpozJ GertjanG 2 Replies Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @orphen76
                    last edited by johnpoz

                    @orphen76 yes to what? your clients are resolving, pfsense is resolving?

                    If you can ping an external ip, and you can resolve the some external fqdn to its IP.. What exactly is not working?

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @orphen76
                      last edited by

                      @orphen76

                      Was this a Yes, I did this from my device, like a PC, and I ran "nslookup" and it worked just fine.
                      Or Yes, .... but I did something else but I can't tell you what I did
                      Or Yes, I have these tools
                      Or Yes ....

                      ?

                      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
                      • O
                        orphen76 @johnpoz
                        last edited by

                        @johnpoz said in DNS Resolver doesn't work:

                        Do you see an answer from 127.0.0.1

                        yes

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @orphen76
                          last edited by Gertjan

                          @orphen76

                          You should do the test on a device that is attached to the pfSense LAN.

                          Example : on windows PC :

                          nslookup www.google.com
                          

                          example :

                          C:\Users\Gauche>nslookup www.google.com
                          Serveur :   pfSense.bhf.tld
                          Address:  2a01:cb19:dead:beef:92ec:77ff:fe29:392c
                          
                          Réponse ne faisant pas autorité :
                          Nom :    www.google.com
                          Addresses:  2a00:1450:4006:80c::2004
                                    142.250.200.196
                          

                          Btw : "2a01:cb19:dead:beef:92ec:77ff:fe29:392c" is my pfSense LAN IP.
                          Also known as "192.168.1.1" in the old days.

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

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            orphen76 @Gertjan
                            last edited by

                            @Gertjan said in DNS Resolver doesn't work:

                            nslookup www.google.com

                            nslookup www.google.com
                            Server: UnKnown
                            Address: 103.86.96.100

                            Risposta da un server non autorevole:
                            Nome: www.google.com
                            Address: 192.0.0.88

                            GertjanG 1 Reply Last reply Reply Quote 0
                            • GertjanG
                              Gertjan @orphen76
                              last edited by Gertjan

                              @orphen76 said in DNS Resolver doesn't work:

                              Address: 103.86.96.100

                              Who is that 103.86.96.100 ?
                              Not your pfSense, right ?

                              What was the DNS IP your PC got from pfSense (see the ipconfig /all command shown above )?
                              More something like 192.168.1.1, right ? wrong ?

                              edit : anyway, your PC got an answer : 192.0.0.88 so that must be Google. That's all a browser needs to connect to 'Google : that IP.
                              The thing is : that IP is, IMHO, not Google ...

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

                              johnpozJ 1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator @Gertjan
                                last edited by

                                @Gertjan said in DNS Resolver doesn't work:

                                The thing is : that IP is, IMHO, not Google ...

                                hahaha - yeah I would concur.. that is not google ;) hehah

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  That's a NordVPN DNS server. So your client might be using a VPN dircetly. Or you might have added it to pfSense etc....

                                  GertjanG O 2 Replies Last reply Reply Quote 0
                                  • GertjanG
                                    Gertjan @stephenw10
                                    last edited by Gertjan

                                    @stephenw10

                                    He ? what ? where is nordvpn coming from ?

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

                                    johnpozJ 1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator @Gertjan
                                      last edited by

                                      If nord is involved yeah I would say your dns is borked.. They started intercepting a while back, per other threads..

                                      That 103 address is a packethub IP.. But as so eloquently stated by @Gertjan 192.0.0.88 is not google.. hehehe, still giggling.. Love it!

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      GertjanG 1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by stephenw10

                                        https://www.reddit.com/r/nordvpn/comments/13ii3zk/nordvpn_dns_servers_resolve_googlecom_into_a/

                                        1 Reply Last reply Reply Quote 0
                                        • GertjanG
                                          Gertjan @johnpoz
                                          last edited by Gertjan

                                          @johnpoz said in DNS Resolver doesn't work:

                                          would say your dns is borked.

                                          Wasn't NordVPN intercepting 'all DNS' requests as seen in some recent forum threads ??
                                          And now it is replying with Pure-BS ?!

                                          @stephenw10 Don't need to go that far, we've got all the resources on board : https://forum.netgate.com/topic/186580/dns-suddenly-broken-on-some-vlans/60?_=1726676960650

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

                                          johnpozJ 1 Reply Last reply Reply Quote 1
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator @Gertjan
                                            last edited by

                                            @Gertjan yeah they were intercepting all dns from test had one user do, they were getting answer from 1.2.3.4, which sure and the hell is not providing dns.. So right there is smoking gun that interception and redirection is happening.

                                            I wouldn't trust those idiots with anything.. VPN service intercepting something as basic as dns is not what they are suppose to be about.. Most people use a vpn to make sure their isp isn't seeing or intercepting their dns..

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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