LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network boot and hostname (https://www.linuxquestions.org/questions/linux-networking-3/network-boot-and-hostname-440220/)

mesh2005 04-30-2006 03:28 AM

Network boot and hostname
 
I built a boot image on Debian system, I deployed it on eight machines and it worked. The problem is how can I configure the image to read the hostname from the DNS while booting?
Thanks

bulliver 05-01-2006 11:27 AM

You need to use an app that can query a DNS server such as `host` or `dig`. You will need to write a small boot script to parse the output and use `hostname` to set it...

mesh2005 05-07-2006 12:52 AM

Thanks for your reply, I did that and it worked fine.
Thanks


All times are GMT -5. The time now is 03:49 PM.