Amir Saad wrote: > I created a boot image and it works correctly except when setting the > hostname, I want it to read the name from the DNS then to use it. How can I > do that? I created the image on Debian > > Thanks. >
I am not sure what you are asking. Are you obtaining an address from DHCP? If so, the DHCP server needs to send the hostname. As far as I know, there is no way to get your own hostname out of DNS during boot. After booting, however, you could have a cron job that does a reverse lookup on your IP and then sets the hostname accordingly. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
signature.asc
Description: OpenPGP digital signature