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

    Local Domain Forwarding

    DHCP and DNS
    2
    3
    860
    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.
    • N
      NOYB
      last edited by

      Is it possible to configure DNS Resolver to not forward queries for hosts with a local domain (or specific specified domain), even if the host is not found locally?

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Try setting a domain forward for the domain to 127.0.0.1.  I don't think this creates any kind of loop or anything.  And host overrides seem to be processed first so it all just works.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • N
          NOYB
          last edited by

          If the local-zone configuration option works the way it sounds like it should, then this should be a more direct approach by using the unbound configuration options.

          https://unbound.net/documentation/index.html
          https://unbound.net/documentation/unbound.conf.html

          local-zone: static

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