-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chmouel Boudjnah wrote: > [EMAIL PROTECTED] (Buchan Milne) writes: > > >>This seems correct according to the hosts (5), as such : > > > Which is the Debian incorporated man-pages, but i don't see the point > if : > > 10.9.8.7 www.foo.com bar > > work, why : > > 127.0.0.1 localhost.localdomain localhost > > should be invalid.
It should work, but there is a difference between NDS-resolved and hosts-resloved (google isn't in my hosts, but ranger.dnsalias.com is): [bgmilne@bgmilne bgmilne]$ getent hosts localhost 127.0.0.1 localhost.localdomain localhost [bgmilne@bgmilne bgmilne]$ grep localhost /etc/hosts 127.0.0.1 localhost.localdomain localhost [bgmilne@bgmilne bgmilne]$ getent hosts www.google.com 216.239.33.100 www.google.com [bgmilne@bgmilne bgmilne]$ getent hosts ranger 146.232.174.2 ranger.dnsalias.com ranger [bgmilne@bgmilne bgmilne]$ grep ranger /etc/hosts 146.232.174.2 ranger.dnsalias.com ranger But the question is what do the RFCs say? I think the FQDN for 127.0.0.1 was supposed to be localhost, nothing more, nothing less (but I could be wrong ;-)) > > i am not sure yet if the guilty is the 'festival' program or our > configuration, and as far i remember only this program has problems > with this naming. And xinetd ... which is really the bigger problem. AFAIK, localhost.localdomain isn't required by any RFC (would have to check), but localhost is. But, it's probably possible to ensure that (if not resolving localhost with the current default hosts file) that it works with both by having this instead: 127.0.0.1 localhost 127.0.0.1 localhost.localdomain Anyone know more definitively? - -- |--------------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+GzHJrJK6UGDSBKcRAp17AKDK4be3DaFcO4dqSXzgbeRXbHY0JQCdHtRD gSEAEElt7MFm8WfUVhlCf9I= =57zh -----END PGP SIGNATURE-----