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

    DNS Not working on VLAN

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 1.5k 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.
    • E
      ecacstech
      last edited by

      I have configured the pfsense router to have 6 VLAN's off of em1 (em0 is my WAN). on the my Layer2 switch I have the VLAN's configured and ports assigned to the VLANS's em1 is directly plugged in to the trunked port. If I plug my workstation onto the default VLAN (VLAN1) I get an IP address and DNS forwards through, therefore I can browse the Internet.

      When I plug my workstation onto any other VLAN, I get an IP address but DNS is not getting forwarded. I can browse the Internet using IP addresses only. I have setup the Firewall rules and am able to ping through the router.

      On the Default VLAN, when I nslookup the routers address it resolves the name of the router, says "pfsense.localdomain". This is not the case when I nslookup the router on any other VLAN, says "Server: UnKnown"

      I have tried to google this issue with no luck, as no-one seems to have this issue.

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

        What firewall rule/s have you got on the various other VLAN interfaces in pfSense?
        You will need to allow traffic for protocol TCP+UDP source VLAN2net destination VLAN2address port 53 (DNS) …
        If you have blocked off all access to VLAN2address, then that will block off the DNS also.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.