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

    Unbound with split horizon - is it possible?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.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.
    • V
      vbentley
      last edited by

      I have been experimenting with unbound on 2.1.5 and I'm having problems recreating the split horizon DNS setup I have been using for years with dnsmasq (DNS Forwarder), /etc/hosts and an externally hosted DNS.

      I cannot resolve hostnames in my RFC1918 private address space but those in the external DNS resolve nicely. The RFC1918 hostnames appear to be listed in unbound's cache but they wont resolve for client requests.

      Anyone having the same problem?

      Trademark Attribution and Credit
      pfSense® and pfSense Certified® are registered trademarks of Electric Sheep Fencing, LLC in the United States and other countries.

      1 Reply Last reply Reply Quote 0
      • 3
        3dinfluence
        last edited by

        I ran into this same issue experimenting with unbound.  First I would confirm that unbound is able to answer the query.  Use 'dig <hostname>@<pfsense_lan_ip>' from a computer on the LAN.

        If that returns the correct response then you probably are running into the same thing I ran into.  With the default dns forwarder disabled the dhcp server was giving clients the dns servers listed in the general setup.  I had to explicitly put the LAN ip in the dns server dhcp server setting.
        –
        David</pfsense_lan_ip></hostname>

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