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

    Split DNS (I know, I know)…

    Scheduled Pinned Locked Moved DHCP and DNS
    35 Posts 5 Posters 5.1k 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

      "to is this "unbound" terminology. I haven't seen that referenced in the literature I've read so far. "

      Really haven't seen this anywhere?  If you do a search on the forums for unbound, there are 13 pages of results..  On the 2.2 new stuff doc

      https://doc.pfsense.org/index.php/2.2_New_Features_and_Changes

      DNS Resolver (unbound) enabled for new installs. #3396
      DNS Forwarder (dnsmasq) disabled for new installs. #3396

      Dude post up pictures of your over ride!!

      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
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        What, exactly, is entered in the host override in the forwarder.  In that case you want:

        Host: home
        Domain: example.us
        IP Address: internal_ip_address

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • C
          colterlovette
          last edited by

          @johnpoz:

          "to is this "unbound" terminology. I haven't seen that referenced in the literature I've read so far. "

          Really haven't seen this anywhere?  If you do a search on the forums for unbound, there are 13 pages of results..  On the 2.2 new stuff doc

          https://doc.pfsense.org/index.php/2.2_New_Features_and_Changes

          DNS Resolver (unbound) enabled for new installs. #3396
          DNS Forwarder (dnsmasq) disabled for new installs. #3396

          Dude post up pictures of your over ride!!

          I am reading and following this: https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks%3F

          I wouldn't have searched for "unbound" on the forums as it's term I haven't learned yet..

          @Derelict:

          What, exactly, is entered in the host override in the forwarder.  In that case you want:

          Host: home
          Domain: example.us
          IP Address: internal_ip_address

          Exactly that, to the T.

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

            "Exactly that, to the T. "

            No you don't or it would be working..  You sure you have the forwarder enabled and not the resolver (unbound)..  Lets see your services tab, and your over ride tab.. I showed you mine..

            See attached, the difference in the forwarder screen and the resolver screen, notice the forwarder part of the resolver..  If your putting the over rides in the wrong section they they will not work.

            services.png
            forwarder.png
            resolver.png
            services.png_thumb
            forwarder.png_thumb
            resolver.png_thumb

            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
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              Sorry.  Always works for me.

              If you're using 2.1 do this:

              Diagnostics > Command Prompt
              Execute Shell Command Command: dig @ip.address.of.forwarder.used.by.hosts.for.dns home.example.us

              If you're using 2.2 do this:

              Diagnostics > Command Prompt
              Execute Shell Command Command: drill @ip.address.of.forwarder.used.by.hosts.for.dns home.example.us

              What does it say?

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • C
                colterlovette
                last edited by

                Ok, so running down the unbound resolver; it is indeed running.

                The host settings I'm editing are in the services->DNS Forwarder. I noticed that in the Services->DNS Resolver under advanced there is also a host section that mimics what is found under the DNS Forwarder Section.

                After some reading, the two are a one or the other scenario, yes? So, do I need to undo the Forwarder and enter the host into the Resolver to keep unbound running or should I disable unbound to revert back to dnsmasq (I did note that the documentation says to disable unbound to use resolver, but not that it's best practice if there is a better way).

                Edit: after looking at John's screenshot I answered my own question maybe. Editing….

                Edit 2:

                Success!!! So it seems the entire issue was the confusion around the forwarder and the resolver and my lack of knowledge about the unbound change in 2.2. So John, thank you for pointing me in the right direction.

                Derelict, thank you for your patience and continuing help.

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  Yes.  With the forwarder disabled the forwarder host overrides do nothing.  While you're in there go into the Advanced settings tab and check Harden Glue and Harden DNSSEC data.  Another thread.  Just trust me.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • C
                    colterlovette
                    last edited by

                    @Derelict:

                    Yes.  With the forwarder disabled the forwarder host overrides do nothing.  While you're in there go into the Advanced settings tab and check Harden Glue and Harden DNSSEC data.  Another thread.  Just trust me.

                    Ok, done deal. Link to thread? Would love to know the why's.

                    1 Reply Last reply Reply Quote 0
                    • DerelictD
                      Derelict LAYER 8 Netgate
                      last edited by

                      https://forum.pfsense.org/index.php?topic=88466.0

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • C
                        colterlovette
                        last edited by

                        Nice read. Thank you for that. Having it defaulted seems like a must, to which Chris seems to have in mind for 2.2.1.

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

                          I think maybe if you don't have forwarder enabled that that whole section should be not shown, so that this sort of thing can not happen..

                          Or the over rides should be common to both?

                          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
                          • DerelictD
                            Derelict LAYER 8 Netgate
                            last edited by

                            Common to both would be nice.  Or at least a way to copy from one to the other.  But you should be able to enter overrides with it disabled so you can enter your overrides before switching from one to the other.

                            Chattanooga, Tennessee, USA
                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

                            1 Reply Last reply Reply Quote 0
                            • D
                              doktornotor Banned
                              last edited by

                              https://redmine.pfsense.org/issues/4332 <– see the hint in here.

                              1 Reply Last reply Reply Quote 0
                              • C
                                colterlovette
                                last edited by

                                @johnpoz:

                                I think maybe if you don't have forwarder enabled that that whole section should be not shown, so that this sort of thing can not happen..

                                Or the over rides should be common to both?

                                Would it be fair to say that, for the moment, the transition to the new service is just that; in transition? So maybe the idea is to have overlapping menus and options to keep both services alive for the masses (also to test the new availability before relying on it completely).

                                If this is the case, I would say there should be a selection option in the resolver to pick which service to use (never at the same time) and the corresponding menus within the GUI will simply work with whatever service is selected to be active.

                                Would this be logical?

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

                                  I don't think the dns forwarder is going away any time soon.  The option is there to run both if you want.  But this new move to the resolver is confusing for many users, and having the over rides listed - its possible for example to do what you did put your over rides in the same section.

                                  Its hard coding for layer 8 ;)

                                  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.