Dont forward local domain



  • Hi,

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


  • LAYER 8 Global Moderator

    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.
    


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


Log in to reply