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

    How do I disable DNS Server without removing it.

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 3 Posters 6.5k 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.
    • G
      gtr33m
      last edited by

      After having no luck getting the DNS server package to do zone transfers, I've moved my DNS off to a remote host.

      I'd like to disable the DNS Server and turn on DNS forwarding wihout removing the package entirely.  Stopping the service doesn't work without stopping the Daemontools service directory watcher as it just restarts it, and in any case I need a solution that will survive a reboot.

      Does anyone know how to disable the service?

      Thanks,

      Mark

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

        Use your dhcp settings to share another DNS server

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

          Thanks, however this still doesn't allow me to enable DNS forwarder which has the feature of registering the leases with my DNS server.

          I would have thought there was a simple tick box somewhere to enable or disable the feature, or some way to stop the service from loading at startup.

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

            Remove the DNS server package entirely.

            Set pfSense itself to use your internal DNS server.

            Enable the DNS forwarder.

            Let your clients use the DNS forwarder for DNS.

            Anything it doesn't know will go to the upstream DNS server – in this case, your internal DNS server. Otherwise it will be served up locally, which will also get you the DHCP lease registration DNS entries and any overrides you have in the pfSense GUI.

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

              Jimp,

              Thanks for the reply.  What you suggest is what I have done and what I was trying to accomplish, however I was looking for a solution that would not require removing the package, just disabling it so that I might bring it back up later without starting over.

              It doesn't appear that this is available so I have removed it.

              Thanks,

              Mark

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