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

    Dont forward local domain

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 379 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.
    • Mr_JinXM Offline
      Mr_JinX
      last edited by

      Hi,

      I cant see the option in DNS Resolver to not forward lookups for the local domain, do we know if it's possible?

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

        You mean like you don't have record for something.yourlocaldomain.tld and it asks roots for it?

        Set your zone to static vs transparent..

        static.png

        https://nlnetlabs.nl/documentation/unbound/unbound.conf/

        static
        If  there  is a match from local data, the query is answered.
        Otherwise, the query is answered  with  nodata  or  nxdomain.
        For  a  negative  answer  a  SOA is included in the answer if
        present as local-data for the zone apex domain.
        
        transparent
        If there is a match from local data, the query  is  answered.
        Otherwise  if  the  query  has a different name, the query is
        resolved normally.  If the query  is  for  a  name  given  in
        localdata  but  no  such  type of data is given in localdata,
        then a noerror nodata answer is returned.  If  no  local-zone
        is  given  local-data causes a transparent zone to be created
        by default.
        

        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.1 | Lab VMs 2.8.1, 25.07.1

        1 Reply Last reply Reply Quote 1
        • Mr_JinXM Offline
          Mr_JinX
          last edited by

          Ahh that's that I've been looking for, thank you very much

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