OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Can dhcpd deny duplicate hostnames?
« previous next »
  • Print
Pages: [1]

Author Topic: Can dhcpd deny duplicate hostnames?  (Read 1806 times)

j_s

  • Newbie
  • *
  • Posts: 42
  • Karma: 7
    • View Profile
Can dhcpd deny duplicate hostnames?
« on: November 17, 2021, 02:16:49 am »
So I have some misbehaving devices.  They keep changing their hostname (long story, but is out of my control).  As a result we are ending up with multiple duplicate hostnames that dhcp is leasing out.

Is there a way to let the first hostname get an IP from dhcpd, but any other devices that try to use the same hostname get denied?  I do not have a complete list of hostnames that "could" have duplicates, so I figure if dhcpd simply doesn't give out IPs for those devices, the duplicate devices will go offline and that problem will solve itself. 

i.e. It won't be my problem anymore and the actual person responsible for the problem will then have to do something about it.

I looked through the dhcpd.conf and did some other google searching, but I don't think this is possible.  I'm hoping I'm wrong though.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Can dhcpd deny duplicate hostnames?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2