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

    Issues with clients trying to claim pfsense as their dns server

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 753 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.
    • C Offline
      ccottrell1
      last edited by

      I having been playing with Pfsense for probably 6 months and tested it out at home, i though i would give it a shot in a production environment.  Issue:

      At home this things is super awesome as a proxy server, no issues it just works.

      At work it only works for the immediate lan, the other vlans cant see it.

      So i think must be some static routes need added so i did so, i created a gateway then added the vlan ciders to that gateway, but when i did all heck broke loose the windows clients that were using pfsense as a proxy started to try and look up name resolution through the pfsense box

      Whoa, while pretty neat, it was actually devastating for the network.

      if you wondering  how that was set up:
      wan 192.18.2.45    lan  10.10.17.33  vlan 10.10.18.0 /24  10.10.19.0 /24  comig through gateway 10.10.17.20 on the lan interface.

      So does anyone see ay steps i missed or know why or how pfsense was overriding the windows dns servers.

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

        And where are the gateway address for your vlans?  So pfsense is not the gateway or firewall your just trying to use it a proxy server?

        So your say pfsense lan is 10.10.17.33/24 and the gateway of this segment is 10.10.17.20/24

        If pfsense is not the gateway for your networks, then yes it would need to know how to route to get to 10.10.18 and 10.10.19.0/24 etc.  Or it would try to go out its wan to get there.  Do not place a gateway on pfsense lan - just create routes.

        You will also need to adjust the lan firewall rules to allow those other segments.  And will also have to create nats so that pfsense nats them - unless your not natting at all.  You will also need to setup proxy to allow those other networks to use it.

        As to clients doing dns??  Yes a proxy is what looks up dns for a client..  If a client of a proxy wants to go to www.google.com - the proxy is the one that looks up www.google.com..  If your saying your clients are doing actual dns to pfsense…  Did you not disable dhcp on pfsense?  Or not configure its dhcp server if your using it to correctly point to your network gateway and dns?

        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 25.07.1 | Lab VMs 2.8.1, 25.07.1

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