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

    DNS Resolver Host Override not working

    Scheduled Pinned Locked Moved DHCP and DNS
    25 Posts 5 Posters 7.7k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      Not off the top... Trying to figure out what that error is you posted. That is pfsense trying to get something with nginx?

      Do you have pfsense pointing to anything other than localhost for dns?

      In your system widget what does it show for 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

      L GertjanG 2 Replies Last reply Reply Quote 0
      • L
        l0rdraiden @johnpoz
        last edited by

        @johnpoz

        1. Yes but I don't know what is trying to get
        2. No, DNS general settings is empty and the DNS in the clients is the pfsense IP
        3. enable up and running.

        BTW I have disable pfblockerng and now it works fine... so I guess is some kind of incompatibility. I will try to report it to see if I get the dev to read this thread.

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

          @johnpoz said in DNS Resolver Host Override not working:

          That is pfsense trying to get something with nginx?

          Yeah, what is this :

          @l0rdraiden said in DNS Resolver Host Override not working:

          ...... open() "/usr/local/www/index.php/204" failed (20: Not a directory), client: 192.168.1.30, server: , request: "GET /index.php/204 HTTP/1.1", host: "ne*********.duckdns.org"
          .... open() "/usr/local/www/ocs/v1.php/cloud/user" failed (2: No such file or directory), client: 192.168.1.30, server: , request: "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1", host: "tc***s.duckdns.org"

          /index.php/204 => this doesn't exists on pfSense (the web server / files ).
          //ocs/v1.php/cloud/user => same thing.

          Just the browser who 'thinks' it's connected to some site, but redirected to the pfSense webroot, and obtaining a "non - not here".

          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

            @Gertjan you think that is something to do with his host override trying to ask pfsense for something... I can not really tell what that error is without more context.

            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

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

              Realy, .... dono.

              I guess @l0rdraiden want to reach a local server (coming from local), the server he exposes on the Internet using a duckdns.org DDNS domain name.
              Local host overrides always worked for me, using the default Resolver.

              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

                yup zero issue with them.. But I don't see how an error on pfsense for nginx has anything to do with unbound?

                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
                  last edited by

                  IMHO, the errors are cached URL's in a browser, that thinks it's connected to a webserer (dsame URL) but it is connected to the GUI (or portal web server).
                  It's hitting the server (nginx) with the stored URL's and nginx is complaining about it.
                  I see this all the time on my own web servers : the most strange page requests are popping up - and errored out by the web server.

                  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
                  • RonpfSR
                    RonpfS @johnpoz
                    last edited by

                    @johnpoz said in DNS Resolver Host Override not working:

                    @Gertjan you think that is something to do with his host override trying to ask pfsense for something... I can not really tell what that error is without more context.

                    He disabled Resolver Live Sync in DNSBL and it seems to work fine for now.

                    2.4.5-RELEASE-p1 (amd64)
                    Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                    Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                      @ronpfs said in DNS Resolver Host Override not working:

                      Resolver Live Sync

                      I read about this (new ?) option. Not finding much btw.
                      unbound man pages do not mention them.

                      Isn't it a somewhat hidden : "do a restart" ?
                      As far as I know, bind, for example, places "watches" on files, and read them in on the fly when they changed - without a global restart.

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

                      RonpfSR 1 Reply Last reply Reply Quote 0
                      • RonpfSR
                        RonpfS @Gertjan
                        last edited by RonpfS

                        @gertjan
                        It's basically a bunch of unbound-control cmds to change the local-data and local-zone in unbound live db.
                        Something the DHCP services could do to register new leases.👌

                        But now BBcan177 has implemented a Python module to unbound. 👍.
                        It's faster, has more functionality and doesn't require GBs of memory for unbound. 😉

                        2.4.5-RELEASE-p1 (amd64)
                        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                          Ah, if so, then that looks good.
                          This should be implement upstream (in pfSense itself).
                          No more x restarts a minute on big networks, thus no more flushing the DNS cache.

                          And pfBlockerNG users would be really happy (parsing these mega block files take time every restart).

                          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
                          • L
                            l0rdraiden
                            last edited by

                            The issue is posted here finally
                            https://forum.netgate.com/topic/140021/dns-resolver-host-override-not-working/21

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