Hi, I'm a Slackware user currently fiddling with Debian, and I'm experimenting with central hostname management. On my network's server, I have Dnsmasq running with the following configuration:
# /etc/dnsmasq.conf domain-needed bogus-priv interface=eth1 dhcp-range=192.168.2.100,192.168.2.200,24h local=/microlinux.lan/ domain=microlinux.lan expand-hosts no-resolv # Nerim server=195.5.209.150 server=194.79.128.150 # Google #server=8.8.8.8 #server=8.8.4.4 dhcp-host=00:1F:D0:AE:EC:FE,alphamule,192.168.2.2 dhcp-host=00:1E:C9:43:A7:BF,bernadette,192.168.2.3 dhcp-host=00:1D:09:15:4A:D8,raymonde,192.168.2.4 dhcp-host=00:1E:C9:42:84:7B,amandine,192.168.2.5 dhcp-host=D8:50:E6:22:0A:D8,6C:71:D9:8E:2F:CF,slackbook-pro,192.168.2.6 dhcp-host=00:19:E0:83:3A:C1,00:14:22:43:7E:60,gustave,192.168.2.7 dhcp-host=00:21:85:CD:7E:10,buildbox,192.168.2.8 dhcp-host=88:51:FB:15:3A:4A,hp-officejet,192.168.2.252 dhcp-host=00:11:32:26:63:A5,nas,192.168.2.253 Most of the client PC's are also running Slackware. None of these machines has any static hostname configuration, they're all configured like this: # /etc/HOSTNAME localhost.localdomain # /etc/hosts 127.0.0.1 localhost.localdomain localhost While the client PCs boot, their respective hostnames are sent to them by Dnsmasq. On my workstation, for example, the result looks like this: [kikinovak@alphamule:~] $ hostname alphamule.microlinux.lan [kikinovak@alphamule:~] $ hostname -s alphamule [kikinovak@alphamule:~] $ hostname -d microlinux.lan [kikinovak@alphamule:~] $ hostname --fqdn alphamule.microlinux.lan Now I installed a minimal Debian 8.0 Jessie on one of my sandbox machines (raymonde.microlinux.lan) for testing purposes. I tried to get rid of any hardcoded hostname configuration on the client side (in /etc/hostname and /etc/hosts), but there seems to be no way I can configure the client to receive hostname information from the server. All I get is localhost.localdomain. Any idea how I could do that? Cheers from the sunny South of France, Niki Kovacs -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/559a4f4f.3010...@microlinux.fr