-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Allen wrote:
> On Wednesday 26 February 2003 09:33, Buchan Milne wrote:
>
>>I did some experiments last night, and I do not think this is necessary
>>(but could be wrong ...).
>>
>>AFAICS, the only issue is that the zeroconf setup lists 127.0.0.1 as the
>>first nameserver, whereas it should be the last.
>>
>
>
> Actually 127.0.0.1 should be first. tmdns is a multi-cast caching DNS
server.
> So it requires a multi-cast DNS server it can contact to resolve
hostnames.

In theory ... note that tmdns was first written in January this year ...

Anyway, just test it yourself. Take a look here:

[EMAIL PROTECTED] bgmilne]$ cat /etc/resolv.conf
search cae.co.za local
nameserver 127.0.0.1
nameserver 146.232.174.17
nameserver 146.232.128.1
[EMAIL PROTECTED] bgmilne]$ nslookup `hostname -s ` -sil
Server:         127.0.0.1
Address:        127.0.0.1#53

** server can't find bgmilne-thinkpad: SERVFAIL


[EMAIL PROTECTED] bgmilne]$ cat /etc/resolv.conf
search cae.co.za local
nameserver 146.232.174.17
nameserver 146.232.128.1
nameserver 127.0.0.1
[EMAIL PROTECTED] bgmilne]$ nslookup `hostname -s ` -sil
Server:         146.232.174.17
Address:        146.232.174.17#53

Name:   bgmilne-thinkpad.cae.co.za
Address: 146.232.174.230

If I then restart the network without a cable attached, it still works,
tmdns then answers for bgmilne-thinkpad (as bgmilne-thinkpad.local).

So, either tmdns is broken, or nslookup is, or 127.0.0.1 should be
listed last.

BTW, another issue is that it seems restarting a network interface does
not change the hostname of the machine (in my case from
bgmilne-thinkpad.cae.co.za to just bgmilne-thinkpad), which causes
problems (and the typical GNOME issue ...). The name returned by DHCP
should be dropped, but that might cause problems with X :-(.


>
> With my tests it would work for the first request, then fail
permanently after
> that.
>
> Also dhclient is a load of c*ap, dhcpcd is mucho better. dhclient
requires
> significantly complex dhclient-INTERFACE.conf files to achieve the same
> as dhcpcd does with a couple of simple command  line switches.
>

Would not know. dhclient works for me. Only additional feature I am
looking for in a dhcp client is the ability to set the WINS IP for samba
when the dhcp server returns one ...

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+XJ/ZrJK6UGDSBKcRAl+9AJ9rnc001kGz4TJEbLU5lYTRbhve+wCgjkLz
1hj4hus0vTy7G1v+liNEX8M=
=tDAL
-----END PGP SIGNATURE-----


Reply via email to