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

Help with transferring working Bind configuration to pfSense deployment

Scheduled Pinned Locked Moved DHCP and DNS
3 Posts 1 Posters 393 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
    v1k0d3n
    last edited by v1k0d3n Apr 21, 2020, 9:57 PM Apr 21, 2020, 9:29 PM

    I've had a great Bind setup for years that's been running on a Raspberry Pi. It's really just for a lab/testing environment, and serves roughly 5 or so master zones. Since recently building out a new pfSense system, I'd like to migrate things over to the new environment and leverage the pfSense Bind package. But there are some things that are not quite making sense to me yet, like how I can replicate my previous master zones and use fallback forwarders with pfSense like I had in my previous setup. I understand how to do this in Bind really well, but I'm getting a bit confused with the pfSense UI implementation.

    Can someone help me understand how to set this up correctly? I've tried a few things already, but can't seem to get things right.
    I've tried using the text blocks for custom options. I've set forwarders in the views section. But clients seem to either be able to forward out to hosts like msn.com, google.com, etc....or resolve internal master zones...but not resolve both. Can someone tell me what I'm doing wrong?

    Thanks for the bread crumbs in advance!

    1 Reply Last reply Reply Quote 0
    • V
      v1k0d3n
      last edited by v1k0d3n Apr 22, 2020, 1:16 PM Apr 22, 2020, 1:12 PM

      I might have figured out what I'm doing wrong, but can someone confirm this for me? Like I said, I'm pretty new to pfSense, and learning some of the platform nuances.

      It appears that the configuration below (taken directly from my previous Bind implementation), added to the "Custom Options" text block under "Custom Views"...

      forwarders {
        1.1.1.1;    # one.one.one.one
        8.8.8.8;    # google-public-dns-a.google.com
        8.8.4.4;    # google-public-dns-b.google.com
      };
      

      ...produces the results I described above in my previous comment. It places an "^M" in the named.conf file for Bind at each line break, and it appears that it should be written on a single line like this:

      forwarders { 1.1.1.1; 8.8.8.8; 8.8.4.4; };
      

      Can someone confirm that this expected behavior?

      1 Reply Last reply Reply Quote 0
      • V
        v1k0d3n
        last edited by Apr 22, 2020, 1:47 PM

        never-mind. that didn't seem to do the trick. the ubuntu host that I was testing with rolled back to DHCP DNS servers, and I didn't realize it. the issue still exists...

        this is a real tough one for me to figure out, and it's frustrating...because from a bind perspective I know exactly what needs to be done. but how to do it in pfSense and working with the GUI...it's not quite clicking for me yet. if anyone has suggestions, I really could use a lifeline. 😕

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received