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

    Unable to resolve certain sites DNS Resolver

    Scheduled Pinned Locked Moved DHCP and DNS
    29 Posts 3 Posters 2.3k 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.
    • B
      bigraz1968
      last edited by

      Nslookup query from working machine

      C:\Users\rdevone-desktop>nslookup netflix.com
      Server: pfSense.localdomain
      Address: 192.168.1.1

      Non-authoritative answer:
      Name: netflix.com
      Address: 45.76.252.24

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

        ok well that is a cached response from 192.168.1.1 (assume pfsense IP since it resolve to pfsense.localdomain)... so lets see something broken when you get home..

        I take it you did not mess with the the unbound views and acls..

        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 1
        • B
          bigraz1968
          last edited by

          I take it you did not mess with the the unbound views and acls.. No I don't know what that is. I haven't made any changes at all.

          You always have been so helpful. I really appreciate your help. My family is going to kill me if I don't get this fixed soon.

          Thanks

          Randy

          1 Reply Last reply Reply Quote 0
          • B
            bigraz1968
            last edited by

            Johnpoz;

            I did a dig on one of the clients that is having a issue and the dig command completes successfully as it did on a client that has no issue.

            Thanks

            Randy

            1 Reply Last reply Reply Quote 0
            • B
              bigraz1968
              last edited by

              Johnpoz;

              I made a mistake. I did the dig with the wrong DNS server. I switched the DNS to my resolver and I get 'connection timed out, no servers can be reached'.

              Thanks

              Randy

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

                so you can not get any sort of answer from pfsense? From this client? Or you saying that certain looks fail?

                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
                • B
                  bigraz1968
                  last edited by

                  Correct. for Netflix.com Most sites do resolve. If I switch to a client in my DMZ. Netflix resolves successfully. DMZ uses the resolver as well.

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

                    Here is the thing the resolve doesn't care what network your on local - if you can talk to it, then it the same no matter what local network your on.. UNLESS you have messed with the acls or created views.

                    What are your firewall rules on this interface?

                    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
                    • GertjanG
                      Gertjan @johnpoz
                      last edited by

                      @johnpoz said in Unable to resolve certain sites DNS Resolver:

                      What are your firewall rules on this interface?

                      +1 (again).

                      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
                      • B
                        bigraz1968
                        last edited by

                        0_1537268329063_babfa03d-7fe9-43dc-8836-56ed0d152705-image.png

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

                          Ok,
                          The questions :
                          Who is / what interface is 192.168.1.1 ?
                          192.168.1.50 ?

                          What are you hiding here :
                          0_1537274165818_7a4b01cc-3675-40fa-b781-8a6ba6246343-image.png

                          What are you doing here :
                          0_1537274343106_47eb0137-01ab-4b4c-91a3-ad760fa7aee0-image.png

                          The image is not complete.

                          What happens if you put on position 2 a "Pass all rule" like this :
                          0_1537274267478_9cd907fe-8c05-4892-8f42-76fdfe096db5-image.png

                          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
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            Rule are evaluated top down, first rule to trigger wins no other rules are evaluated.. Shoving stuff out your wan dhcp could cause you problems.

                            Do you have any rules on floating?

                            So your doing dns redirection? Also curious what this 192.168.1.50 if its on your lan 192.168.1/24? Then that rule would NEVER come into play since devices don't talk to their gateway to talk to device on their own network. So not sure what this is expected to do.

                            Lets see your full rule set both on this interface and your floating and any redirections (port forwards your attempting) Also anything using explicit proxy would not do dns itself - it asks the proxy to do do the dns for it.. When it sends the proxy the FQDN it wants to get too.

                            These rules not making much sense to be honest.

                            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
                            • B
                              bigraz1968
                              last edited by

                              Gertjan;
                              192.168.1.50 is my AD server. That rule isn't needed anymore and can be removed. 192.168.1.1 is my firewall. I haven't tried this: What happens if you put on position 2 a "Pass all rule" like this : but I will try when I get home

                              Johnpoz;

                              I route out of my Wan_DHCP because some of my services can't work through the VPN. I'm not doing any DNS Redirection, not on purpose

                              0_1537276807676_37d61168-96ee-4976-9000-2feda28890ae-image.png

                              0_1537276945805_db644f56-1c7a-4509-b765-abe06040f6fb-image.png

                              1 Reply Last reply Reply Quote 0
                              • B
                                bigraz1968
                                last edited by

                                My rules can be cleaned up but this has been working for a long time before this resolution issue started happening.

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

                                  Also : de activate pfBlocker (thus cleaning your Floating rules) for the time being.

                                  This rule :
                                  0_1537274267478_9cd907fe-8c05-4892-8f42-76fdfe096db5-image.png

                                  on interface LAN - on position 2 - and test.
                                  Then 3, and test.
                                  etc.
                                  When things (DNS) start to not-work anymore, you have found your offending rule.

                                  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
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by

                                    I understand letting stuff out your wan vs vpn - but that is NOT how you should do it.. You prevent any intervlan traffic with such a rule..

                                    Move the anyrule to the top.. Does that make your problem go away... Looking at such a mess makes my brian hurt! ;)

                                    What are you expecting to happen with the multicast rule? And what the F is wan service ports? And your blocking from talking to pretty much the whole planet there with your pfblocker rules? Good luck resolving when the authoritative name server you need to ask is blocked, etc..

                                    What is the IP of the clients that are having problems? And are they in this TV alias? What is in that TV alias?

                                    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
                                    • B
                                      bigraz1968
                                      last edited by

                                      I will do as you both suggested when I get home this evening. Most of the rules you see is based on the configuration AirVPN suggested. I'm not an expert with any of this, nor do I claim to be. I try to do my best and learn along the way.

                                      I removed all of the alias. That rule is now stale.

                                      All of this as flawed as it may be, was working and I haven't made any changes.

                                      Thanks or your help

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