On Sun, 17 Aug 2003, guran wrote:

> On Sunday 17 August 2003 13.24, Buchan Milne wrote:

> I was trying to report something that I thought was a bug. During installation 
> of LAN i used the graphic set and to 'zeroconf' I added Pelles as the name 
> with no dots. In syslog you can see that mdk writes
> Aug 17 09:55:29 localhost tmdns[1665]: claim name "Pelles.local", type 1 
> That is as far as that information gets. To my understanding the installation 
> should put that name correctly into postfix.

OK, that's a better report, but this is IMHO how it should work:
1)You set the hostname once in drakconnect in normal mode, which  should 
set HOSTNAME in /etc/sysconfig/hostname, in which case:
-tmdns will use it
-postfix, apache, samba, etc etc will use it
-syslog will use it (yours is using localhost)
preferably it should be sent with a dhcp request by default also (I am not 
sure if this is currently the case.

Things that should not be possible:
-have a different hostname in /etc/sysconfig/network than in 
/etc/tmdns.conf. There is no use in registering a name in multicast DNS 
which is not the `hostname`
=>IMHO, the bug is setting the hostname in /etc/tmdns.conf, it should 
*only* be set in /etc/sysconfig/network

Things that should be possible:
-choose to use hostname assigned by dhcp server
-choose to send a different hostname to the dhcp server

BTW, does anyone know if tmdns is of any use? If all it's going to do is 
make `hostname` resolve on the local machine, we might as well use 
/etc/hosts for this. If the user has DHCP, chances are they have DNS, and 
tmdns is useless. Apparently the use of .local has some issues on 
Windows2000 domains when using default settings.

The only reason tmdns can be useful is in a network of machines *not* 
connected to the internet, which *don't* use DHCP, and which *don't* have 
DNS. Thus, IMHO, tmdns should only be started if DHCP leases are not 
available (when using a zcip address), and *only* if tmdns can resolve 
names of other zeroconf machines.

Please note I haven't installed cooker recently, I will probably install 
beta2 today ...

I am sure I filed a bug on this in 9.1 beta series, so please search in 
bugzilla ....

Regards,
Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
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

******************************************************************
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.
******************************************************************

Reply via email to