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

    DNS Resolver outgoing interface list with site-to-site VPN

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 133 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.
    • J
      jhg
      last edited by

      I have a site-to-site OpenVPN configured, with "Pull DNS", so hosts on my LAN can issue DNS queries for remote VPN hosts and they are resolved correctly. I.e. my DNS resolver knows to forward queries for remote VPN hosts to the remote VPN DNS server. This is working normally.

      To troubleshoot a different problem I wanted to restrict my DNS resolver's "Outgoing Interfaces" list to just the WAN interface. When I did this I found that resolution of VPN-remote hosts stopped working. This makes sense, since I'd restricted outgoing queries to the WAN interface alone.

      So then I went back to my resolver's "Outgoing Interfaces" list and looked for the VPN interface so I could enable that one too, and find that there's no entry in the list for that interface.

      Should there be such an entry?

      Is there a way to accomplish my goal of restricting outgoing DNS to only the WAN and OpenVPN interfaces?

      pfSense CE on Beelink EQ12 (N100 CPU, dual 2.5Gbe Intel NICs)
      Hitron CODA56 - Comcast 2.5Gb cable

      JonathanLeeJ 1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee @jhg
        last edited by

        @jhg OpenVPN has options for DNS have you looked at hard setting them?

        Make sure to upvote

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