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

    DHCP getting wrong DNS

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 1.2k 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.
    • N
      nottyboy
      last edited by

      Hi there,

      We have 2 gateway due to 2 different blocks which were interconnected recently, both gateways have DHCP installed and assign IP addressed to different devices under 2 different offices.

      We recently have upgraded 2 of our Pfsense from 1.2.2 32bit to 2.1 64 bit, all the while the DHCP works on all the laptops, phones and tablet until we upgraded the Pfsense. One pfsense is with IP address 192.168.1.6, one is 192.168.5.1. When the user move from one location to another, they keep on getting the DNS from 192.168.5.1 instead of 192.168.1.6 and we have Deny unknown clients ticked.

      I am not sure why this happened, now I have to enter all the mobile devices on both Pfsense then only all my users can be connected anywhere.

      1 Reply Last reply Reply Quote 0
      • T
        timthetortoise
        last edited by

        Could you post the contents of both /var/dhcpd/etc/dhcpd.conf?

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

          Im confused on this network setup..  So 192.168.5  and 192.168.1 are the same broadcast domain?  What mask are you using?  In a normal setup these 2 segments would be different, and should not be possible broadcast to the other network for dhcp.

          How are your networks connected?

          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

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