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

    SOA records in Unbound?

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 1.2k 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.
    • deemeryD
      deemery
      last edited by

      I want to use PFSense as a domain server for my domain (at least for internal use, most of the domain is not visible to the outside world.)

      Seems to me I would need an SOA record for that domain. I've looked at the host_entries.conf file which shows how to establish the IP address/Name (A Record) entries. Is that where the SOA entry should go?

      And in general, are there best practices for defining a domain within Unbound/PFSense?

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

        To be honest unbound is not meant to be an authoritative ns. If you want to run an actual authoritative ns on pfsense - you should be using the bind package.

        That being said if all you want to create is some other sorts of records other than A, even say an soa.. That can be done via the custom options box in the unbound gui.

        To serve up records for local hosts, you don't actually need to be authoritative - just serve up the records you want. Only real reason you would need a SOA record is if you have something that is going to register records dynamically, etc. via talking to the SOA..

        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 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 1
        • deemeryD
          deemery
          last edited by

          Thanks! For "unbound gui" do you mean the PFSense web interface (Services -> Resolver)?

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

            yup thats where - scroll down and the custom option box lets you put in any sort of record or other options you want..

            Just need to start off with server:

            options.png

            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 24.11 | Lab VMs 2.7.2, 24.11

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