Navigation

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

    I want a static DHCP lease with a dynamic hostname

    DHCP and DNS
    1
    1
    426
    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
      carriage last edited by

      OpenWRT has a feature that I'd like to mimic on pfSense, which is the ability to dynamically allocate hostnames to static DHCP mappings that lack a predefined hostname. Granted, I suspect this is less of a feature and more of a byproduct of the way the different OpenWRT services interact.

      I've often found this useful when testing stuff on bare metal: in effect, I was able to have a static IP without touching the host config (due to the DHCP mapping) and still be able to resolve the hostname to that static IP. Then, whenever the hostname changed – which could be often – the new hostname would resolve to the same static IP.

      Unfortunately, it seems that if I do a static DHCP mapping in pfSense and leave the hostname field blank, the hostname the host sends in the DHCP request is ignored. I've got the static IP, yes, but not the dynamic hostname.

      I'm wondering if there's a reasonable way to achieve this behaviour with pfSense?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Products

      • Platform Overview
      • TNSR
      • pfSense
      • Appliances

      Services

      • Training
      • Professional Services

      Support

      • Subscription Plans
      • Contact Support
      • Product Lifecycle
      • Documentation

      News

      • Media Coverage
      • Press
      • Events

      Resources

      • Blog
      • FAQ
      • Find a Partner
      • Resource Library
      • Security Information

      Company

      • About Us
      • Careers
      • Partners
      • Contact Us
      • Legal
      Our Mission

      We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

      Subscribe to our Newsletter

      Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

      © 2021 Rubicon Communications, LLC | Privacy Policy