DHCP-EDIT(8)
π DHCP-EDIT(8) β ok bestie, let's talk dhcp-edit π
It's the manual page for dhcp-edit, and it's genuinely so useful. She adds new host entries to dhcpd.conf, she removes ones you don't want anymore, and then she restarts the DHCP daemon for you like the queen she is. π
β¨ NAME β¨
dhcp-edit β add or and remove entries to/from dhcpd.conf π
πΈ SYNOPSIS πΈ
dhcp-edit [OPTION] HOST MAC [IP]
π¦ DESCRIPTION π¦
So here's the whole vibe: dhcp-edit adds a brand new host entry to dhcpd.conf, or removes an entry that's already in there. That's the main character job. π
And bestie, she doesn't just leave you hanging β she also restarts the DHCP daemon for you afterwards. Not me doing the extra work unpaid fr fr. πβ¨
π OPTIONS π
-dβ Dry run. No files get changed. Just a lil rehearsal, no commitment, we love a preview era. π«Ά-hβ Print help. Because sometimes we all need a lil guidance, and that's valid. π-nβ Do not restart the DHCP daemon. She'll do the edit and then justβ¦ not touch the daemon. Respect. π-pPATTERNβ Add the new entry before the line that matchesPATTERN. Sneaking it in right where you want it. π§-rHOST|MACβ Remove the entry that containsHOSTor theMACaddress. Bye bestie, it was iconic while it lasted. π
π EXAMPLES π
dhcp-edit host mac
Add an entry using the host and mac address with a fixed IP address. It's giving "the IP is already handled elsewhere" energy β you have to define the IP address in /etc/hosts or some similar service. π
dhcp-edit host mac
dhcp-edit host mac ip
Add an entry using the host and mac address with the numerical IP address. Straight to the point. No middleman. Slay. π₯
dhcp-edit host mac ip
dhcp-edit -r hostname|mac
Remove the line containing this hostname or mac address. Sayonara. π¦
dhcp-edit -r hostname|mac
π COPYRIGHT π
This program is Copyright (C) 2010-2015 by Thomas Lange <lange@cs.uni-koeln.de> π
ngl the whole thing was written up in theDHCP-EDIT(8)era and this version is dated 2026-08-26, so likeβ¦ yeah. That's the tea. π΅β¨ Stay slay, keep yourdhcpd.confimmaculate, and remember: dry run first, bestie, always. π
π¦ where this page comes from
- ubuntu stonking: fai-server 6.6ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms