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

    Confused about DNS Settings

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 3 Posters 3.6k 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.
    • W
      Wasca
      last edited by

      Where do Optional interfaces in PFSense get their DNS records from when you have 2 WAN's?

      For example, If I have an OPT2 interface with a subnet of 192.168.2.0/24, and I point clients DNS settings on this network to 192.168.2.1 (OPT1 Interface IP) What IP's are used for DNS lookups? Is it the IP addresses set up in the General Settings? or is it set some where else?

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        These clients get their name-resolves from the DNS forwarder.
        All services that run on pfSense itself use the WAN.
        –> The DNS-entries pfSense recieves from WAN.

        If the DNS-forwarder should use a DNS Server on WAN2 you need the static route.
        (search the forum).

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • W
          Wasca
          last edited by

          is there anyway to force the DNS Forwarder to use the Primary IP address of the WAN2 connection first, instead of the WAN DNS IP?

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            They will be processed in the order that they appear at system>general or in the config.xml.

            1 Reply Last reply Reply Quote 0
            • W
              Wasca
              last edited by

              Sweet  ;D, does that also include any extra DNS IP's you may add to the config manually?

              Ignore that one, did not read your post properly  :o

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by

                Yes.

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