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

    Error saving DNS Resolver settings

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 2 Posters 1.0k Views 2 Watching
    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.
    • C Offline
      cyberzeus
      last edited by

      pfSense version: 2.6.0 AMD64

      When tyring to save the DNS Resolver settings that include (a) the "Enable Forwarding Mode" checked; (b) a Custom option, the following error is thrown:

      pfsense_dns-resovler-error.jpeg

      If I uncheck the Enable Forwarding Mode or remove the Custom option, the settings save as expected.

      I did check line 109 of the /var/unbound/test/unbound.conf file and it contains the Custom option.

      Has anyone seen this? Is this a possible defect?

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

        @cyberzeus said in Error saving DNS Resolver settings:

        contains the Custom option.

        And what option is that? You most likely need

        server: before it

        example

        custom.jpg

        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 25.07 | Lab VMs 2.8, 25.07

        C 1 Reply Last reply Reply Quote 1
        • C Offline
          cyberzeus @johnpoz
          last edited by

          @johnpoz said in Error saving DNS Resolver settings:

          You most likely need server: before it

          Bravo friend.

          I tried several custom options each resulting in the same error. And because I never needed to add server: prior to checking the Enable Forwarding Mode checkbox, it didn't even occur to me to try this.

          Thanks for your help...

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

            @cyberzeus

            https://docs.netgate.com/pfsense/en/latest/services/dns/resolver-config.html#dns-resolver-configuration

            tip.jpg

            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 25.07 | Lab VMs 2.8, 25.07

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              cyberzeus @johnpoz
              last edited by

              @johnpoz --- Right but unbound actually runs - the settings just wouldn't save. In any event, I hadn't see this so appreicate you pointing it out...

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