Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2009
Is it possible to ask DHCP+DNS assign a randomize hostname to client?
Is it possible to ask DHCP / DHCP + DNS to assign the hostname randomly to client?
is it possible to ask it to assign the hostname to client based on a pattern? For example,
the network is 192.168.1.0.
If the IP address of 192.168.1.1 get the hostname call Computer1
192.168.1.2 get the hostname call Computer2
so in general 192.168.1.% get the hostname Computer%
or based on the last 3-4 HEX value as part of the Hostname is also ok
Just in case that MAC address is unknown or base on some prefix (for example 00:0c:29) and the rest is random. (All the host are not static host)
Thanks for it
doesn't the dhcp dns relationship usually require the client hand its name, and then dhcp gives it an ip and registers it with dns?? if thats true (and I think it is) dns does not hand out the names
On the contrary i guess it _is_ the default behavior (though not sure if it happens in the pattern you wish nor that it changes with every boot/internet session).
Atleast that was the case during CentOS and openSUSE install. I usually override it and give own hostname during install.
Sorry, I don't know how to reverse it.A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076