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

    Question about DHCP Static Mappings DNS Servers [fixed]

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.1k 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 Offline
      Jeremy11one
      last edited by

      On the DHCP Server page, I have 4 DNS servers listed.  However, I have one special host that I want to assign only the first DNS server instead of all 4.  So I created a Static Mapping for that host, entered only the first DNS Server IP, and left the other 3 boxes blank.  However, that host still gets all 4 DNS servers when it refreshes its IP.

      I tried some other things with the static mapping like adding that same DNS Server 4 times to fill all the boxes, but that didn't work.  I also tried typing just "0" for the other 3 boxes, but same results.

      Is there a trick I don't know about?

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

        There is no trick.. You sure your getting dhcp from pfsense, you sure your edit the static mapping and not the overall dhcp server?  It might jump locations on you when you apply, etc.

        So see here - I set to 1.2.3.4 - gets it.  I then delete that entry and release and renew and back to normal setting..

        workinghere.png_thumb
        workinghere.png

        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, 25.07.1

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jeremy11one
          last edited by

          I'm trying to reply to this thread but keep getting error 500 Internet Server Error.  Tried Chrome and IE several times.

          Here's the short version:
          Thanks for your response.  The problem only happens when you enter the LAN interface IP as the only DNS Server on the static mapping.  I tried to explain the issue better on the bug ticket:

          https://redmine.pfsense.org/issues/4711

          –---
          Edit, bug apparently is already known: https://redmine.pfsense.org/issues/3915
          Devs say this issue will be fixed upstream.

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

            what would it matter what IP you put in.. So your saying your dhcp server normally hands out something else and you put in the lan ip interface..  Well I can test that as well.. But I don't see why pfsense would care what IP it hands out.

            Seems you might be running into this
            https://redmine.pfsense.org/issues/3915

            Would need to see some sniffs of your dhcp to validate your running into this situation

            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, 25.07.1

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