Automatic DNS resolution of DHCP client name

dragonslayer

New Member
Joined
May 5, 2022
Messages
3
Reaction score
1
Credits
41
I am using Debian Linux. I have a DHCP server (isc-dhcp-server) and DNS server (dnsmasq) how do I get the DHCPs leases client name updated automatically into the /etc/hosts to be able to ping it? Other than manually adding the entry into the /etc/hosts folder...or is that not a thing?
 


I'm not too up on a cooperative DHCP/DNS setup. Here's how I would do it:
1. Set up a static IP in DHCP for your server.
2. Add the IP/host to your DNS server.
 

Staff online

Members online


Latest posts

Top