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

    How To Query DNS From VLANs

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 386 Views 2 Watching
    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 Offline
      JOTS
      last edited by

      I'm trying to get the DNS resolver in pfSense to answer queries from other local VLANs that are not directly attached or routed via pfSense. There is a 192.168.1.0/24 subnet between the LAN interface on a SG-3100 and a core switch (Cisco) that acts as a gateway and does all routing for various other VLANs. I don't want to extend all of the internal traffic from the other VLANs to pfSense. A gateway to the core switch and static routes have been configured. All VLANs are fully routed and have internet access, but none of the networks except the 192.168.1.0/24 that is directly attached is able to reach the pfSense DNS resolver. They are able to reach external DNS servers such as 8.8.8.8 / 8.8.4.4 without issue. I've played with various firewall rules and settings, but none of that seems to be relevant. Is is possible to get the DNS resolver to communicate with other non-local subnets?

      Thanks!

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator @JOTS
        last edited by

        @jots you would need to adjust your acl of unbound if you want to allow other networks to be able to query unbound. Out of the box pfsense auto acls for unbound would allow directly attached - but if you have some other network that is allowed firewall rules to talk to pfsense IPs - you would need to edit the unbound acls to allow for that.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        J 1 Reply Last reply Reply Quote 1
        • J Offline
          JOTS @johnpoz
          last edited by JOTS

          Thank you! I'm not sure how I missed that tab.

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