Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Unbound control port config

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 273 Views 3 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.
    • M Do not disturb
      markster
      last edited by

      Wanted to confirm the remote-control port issue.
      When executing unbound-control relaod I receive the error

      Screenshot 2026-03-30 at 9.08.54 AM.png

      Checking the configuration file and it should be port 953.

      Screenshot 2026-03-30 at 9.09.49 AM.png

      Is there aomething else I dont know or its internal to some other configuration?

      tinfoilmattT 1 Reply Last reply Reply Quote 0
      • tinfoilmattT Offline
        tinfoilmatt LAYER 8 @markster
        last edited by

        @markster Since Unbound runs chrooted, need to specify the full-path config file with the command:

        "unbound-control -c /var/unbound/unbound.conf reload"

        https://docs.netgate.com/pfsense/en/latest/services/dns/resolver-cli.html

        M 1 Reply Last reply Reply Quote 0
        • M Do not disturb
          markster @tinfoilmatt
          last edited by

          @tinfoilmatt Yeah, your r correct. I thought by default the config file would be read. Thankx

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG Offline
            Gertjan @markster
            last edited by

            @markster

            @markster said in Unbound control port config:

            I thought by default the config file would be read.

            And you were / are correct.
            Be aware of this : if you didn’t supply the path of unbound config file when you use unbound-control, the default file and 'place' will be used :

            [26.03-RC][root@pfSense.bhf.tld]/root: ll /usr/local/etc/unbound/unbound.conf
            -rw-r--r--  1 root wheel 57194 Feb  3 09:31 /usr/local/etc/unbound/unbound.conf
            

            The thing is : this is a default file, not used by pfSense (and unbound).
            The real unbound config file is here :

            /var/unbound/unbound.conf
            

            Use

            unbound-control -c /var/unbound/unbound.conf ......
            

            Btw : make live way easier : use the console or SSH access 😊

            No "help me" PM's please. Use the forum, the community will thank you.

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