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

    UnBound + OpenDNS nxdomain

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    17 Posts 6 Posters 9.9k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      It depends on how you have Unbound setup. IIRC it can work either way, either using your configured DNS servers as forwarders, or it can talk directly to the root servers.

      Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

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

        you want to make sure you uncheck the forwarder mode – see attached image

        uncheckthis.jpg
        uncheckthis.jpg_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
        • J
          jlepthien
          last edited by

          Also note that DNSSEC is not working with OpenDNS. They go with DNSCurve….

          | apple fanboy | music lover | network and security specialist | in love with cisco systems |

          1 Reply Last reply Reply Quote 0
          • G
            geeknik
            last edited by

            I don't have forwarder mode enabled. Which is why I'm confused why it's still forwarding.

            1 Reply Last reply Reply Quote 0
            • W
              wagonza
              last edited by

              @geeknik:

              I have a question about UnBound DNS.

              I have dnsmasq disabled, OpenDNS is in System: General setup. Ā Normal DNS lookups work fine, I see Borat as well, but if I ping a non-existant hostname, I'm getting results like this:

              64 bytes from hit-nxdomain.opendns.com (67.215.65.132): icmp_req=1 ttl=55 time=16.7 ms

              Obviously UnBound isn't working 100%, so what can I do to fix this. Ā Is it because I'm MultiWAN or…?

              Where are you pinging from pfSense or your desktop? If it is the latter ensure that pfSense is definitely your DNS server. If it is the former then log onto your machine via ssh/console and execute 'unbound-control forward'.

              You should see something like this

              
              # unbound-control forward
              off (using root hints)
              #
              
              

              Follow me on twitter http://twitter.com/wagonza
              http://www.thepackethub.co.za

              1 Reply Last reply Reply Quote 0
              • G
                geeknik
                last edited by

                Pinging from my desktop machines, which are assigned everything via DHCP. The DHCP server is giving out the OpenDNS IPs and not the pfSense IP for DNS. And I ran that command, forwarding is off.

                Unbound keeps dying though. And when it goes, the whole web gui for pfsense quits responding. Restarting the gui through SSH doesn't do anything. I have to reboot the entire machine and 50% of the time when it comes back up, Unbound isn't even listed as installed and DNSMasq is re-enabled.

                1 Reply Last reply Reply Quote 0
                • M
                  mromero
                  last edited by

                  What build are you using?

                  Added to the mess with the lockups on this week's builds I am afraid to try out any new snapshotĀ  :P

                  @geeknik:

                  Pinging from my desktop machines, which are assigned everything via DHCP. The DHCP server is giving out the OpenDNS IPs and not the pfSense IP for DNS. And I ran that command, forwarding is off.

                  Unbound keeps dying though. And when it goes, the whole web gui for pfsense quits responding. Restarting the gui through SSH doesn't do anything. I have to reboot the entire machine and 50% of the time when it comes back up, Unbound isn't even listed as installed and DNSMasq is re-enabled.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    @geeknik:

                    The DHCP server is giving out the OpenDNS IPs and not the pfSense IP for DNS.

                    There's your problem, your local clients aren't using Unbound to resolve, they're using OpenDNS.

                    Have your DHCP server hand out the router's IP for DNS (just leave that part blank) and you will probably get the results you're after.

                    Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • G
                      geeknik
                      last edited by

                      @mromero:

                      What build are you using?

                      Added to the mess with the lockups on this week's builds I am afraid to try out any new snapshotĀ  :P

                      Tried every build this week. =)

                      @jimp:

                      @geeknik:

                      The DHCP server is giving out the OpenDNS IPs and not the pfSense IP for DNS.

                      There's your problem, your local clients aren't using Unbound to resolve, they're using OpenDNS.

                      Have your DHCP server hand out the router's IP for DNS (just leave that part blank) and you will probably get the results you're after.

                      It has been blank. I even tried telling the DHCP server to hand out 10.0.0.254, but that didn't seem to do anything. I think when the RC comes out I will wipe this machine and do a fresh install and start over. I've been upgrading builds over builds for a few months now, something is gumming up the works. ;)

                      1 Reply Last reply Reply Quote 0
                      • J
                        jlepthien
                        last edited by

                        @jimp:

                        @geeknik:

                        The DHCP server is giving out the OpenDNS IPs and not the pfSense IP for DNS.

                        There's your problem, your local clients aren't using Unbound to resolve, they're using OpenDNS.

                        Have your DHCP server hand out the router's IP for DNS (just leave that part blank) and you will probably get the results you're after.

                        He has to set the router ip explicitly otherwise he's getting the regular dns servers from General settings. Had this problem in the beginning, too. (when using Unbound)

                        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          If you hardcode it, it should work, though I bet because the DNS Forwarder setting is off, blank in the DHCP server defaults to giving out the system assigned IPs. Not sure how Unbound works around that (if it does).

                          Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            @jlepthien:

                            He has to set the router ip explicitly otherwise he's getting the regular dns servers from General settings. Had this problem in the beginning, too. (when using Unbound)

                            I realized that right after I hit submit :-)

                            Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

                            1 Reply Last reply Reply Quote 0
                            • J
                              jlepthien
                              last edited by

                              @jimp:

                              @jlepthien:

                              He has to set the router ip explicitly otherwise he's getting the regular dns servers from General settings. Had this problem in the beginning, too. (when using Unbound)

                              I realized that right after I hit submit :-)

                              Hehe ;)

                              | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                              1 Reply Last reply Reply Quote 0
                              • W
                                wagonza
                                last edited by

                                @geeknik:

                                Pinging from my desktop machines, which are assigned everything via DHCP. The DHCP server is giving out the OpenDNS IPs and not the pfSense IP for DNS. And I ran that command, forwarding is off.

                                I need to update http://doc.pfsense.org/index.php/Unbound_package to reflect that one needs to add the pfSense IP to the DHCP DNS Server settings. Otherwise currently pfSense dishes out the DNS Servers defined in General.

                                @geeknik:

                                Unbound keeps dying though. And when it goes, the whole web gui for pfsense quits responding. Restarting the gui through SSH doesn't do anything. I have to reboot the entire machine and 50% of the time when it comes back up, Unbound isn't even listed as installed and DNSMasq is re-enabled.

                                What does /var/log/unbound.log and /var/log/system.log say? It sounds like your config gets rolled back due to a problem hence why DNSMasq is re-enabled and unbound is not listed as installed. /var/log/system.log should give more info on this problem.

                                Follow me on twitter http://twitter.com/wagonza
                                http://www.thepackethub.co.za

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