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

    DNS resolution of my domain on the LAN, am I missing something?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 600 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.
    • H
      hazzard
      last edited by

      Hi folks,

      I have my own domain, I can access services using service.domain.com through Traefik on Truenas Scale, but for each service I need to add a Host Override in the DNS resolver.

      I tried to do a wildcard using:
      server:
      local-zone: "domain.com" redirect
      local-data: "domain.com 86400 IN A 192.168.1.102"

      BUT this gives a duplicate zone error, so I removed all the overrides but still get the error as pfsense itself has a fqdn of pfsense.domain.com.

      DO I have to enter a host override for every service? OR (please, please) is there an easier solution?

      I think that bind9 will do what's required BUT then I can't use pfblockerNG as it relies on unbound as far as I understand.

      What's my best approach to resolve this? Currently all but 2 services need pointing to the same server, so it's like I need a wildcard.domain.com go here and other 2 go there and there!

      Thanks in advance.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Rebel Alliance @hazzard
        last edited by

        @hazzard You can skip "Custom options" and use a Domain Override to point the domain to (a) local DNS server(s) if you have one (quite useful for Active Directory)

        Does Host Override not allow for a * character? I haven't tried...

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

        H 1 Reply Last reply Reply Quote 0
        • H
          hazzard @SteveITS
          last edited by

          @steveits Thanks for replying. I only have the DNS resolver on pfsense, so no other DNS server to point to. I just have a home network, no AD or anything fancy like that. No, you're not allowed to enter an asterisk but you can leave host blank, however that does not seem to do anything!

          I guess I could have another DNS server running and then use a Domain Override as you suggest unless someone else has a better idea.

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