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

    How to mix local DNS and normal DNS servers without breaking everything?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 1.4k 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.
    • N
      Nuvini
      last edited by

      Hi,

      I have the following set up:
      DNS1: 109.235.51.12
      DNS2: 78.138.97.33
      ^The above works.
      Once I add a third, 192.168.1.113 - it breaks. It can no longer do DNS lookups, not even with a dig from the pfsense console, only if I do it directly (@109.235.51.12)
      I use 192.168.1.113 only for local lookups, so it doesn't recurse. How can I get it to work the way I want it to?

      Thanks,

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Remove 192.168.1.113 from the main DNS list.
        In DNS Forwarder, add a domain override for your internal domain name (e.g. mydomain.localdomain), pointing to 192.168.1.113 - then DNS forwarder will send queries for names ending in "mydomain.localdomain" to 192.168.1.113 and all other queries out to the ordinary DNS servers you have defined.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

          Got it! Thanks, Phil.

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