-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Damien Chaumette wrote:
> Well, there are mutliples cases : > > o static IP > you set your HOSTNAME (/etc/sysconfig/network) > > o DHCP > you can ask a name to your DHCP server (DHCP_HOSTNAME), and it'll > return either this one or another, then initscripts use it as > your HOSTNAME. What if the dhcp server returns dhcp-vlan-adsl-xxx-xxx-xxx-xxx.myisp.mydomain.com and the user doesn't want to have hostname dhcp-vlan-adsl-xxx-xxx-xxx-xxx as hostname? > > Then you have zeroconf which is subdivided in two parts : > > o zcip which handle the IP dynamic configuration (only with DHCP) > o tmdns always installed, to resolve names. > > Zeroconf hostname (/etc/tmdns.conf) is set to your real hostname value > by default or one you specified in drakconnect. IMHO this is wrong. Hostname should be set, tmdns will use `hostname` if you don't set it manually in the config file. There is no case where you will want a different hostname taken by tmdns than `hostname`, so IMHO drakconnect should leave tmdns.conf alone. > > Let user set a hardcoded hostname when using dhcp will only lead to > unresolved names. > No, that's precisely *why* tmdns will *default* to using the set hostname!!! It's fine if the IP resolves to multiple hostnames, but it's better that it resolves to the name the user wants (but this should be an advanced configuration). Regards, Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/Q++MrJK6UGDSBKcRAuRSAKCyvS43a00EVCmNlQvVQ7So51AhZQCfawEF 9r6ZGVZDe0di/Mpfmfq0aM8= =+QSj -----END PGP SIGNATURE----- ***************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. *****************************************************************
