Richard Steven Hack <(E-Mail Removed)> wrote:
>On Wed, 21 Jan 2004 18:29:47 -0900, Floyd Davidson <(E-Mail Removed)>
>wrote:
>
>>The address 127.0.0.1 should resolve to "localhost", not to something
>>else.
>>
>>Research it in any good book on network configuration.
>================================================= ==========
>From UNIX System Administration Handbook, chapter 16, The Doman Name
>System, page 455:
What book is that? Who's the publisher, and who is the author?
>The localhost zone.
>
>The address 127.0.0.1 refers to a host itself and should always be
>mapped to the name "localhost.localdomain", for example,
>localhost.cs.colorado.edu. Some sites map the address to just plain
>"localhost" as though it were part of the root domain; this
>configuration is incorrect.
I suppose that book uses RedHat as an example... ;-) Sigh...
>If you forget to configure the localhost zone, your site may end up
>querying the root servers for localhost information. The root servers
>are currently receiving so many of these queries that the operators
>are considering adding a generic mapping between localhost and
>127.0.0.1 at the root level.
From "Running Linux" 3rd Edition, 1999, by Welsh, Dalheimer, and
Kaufman, published by O'Reilly & Associates, Inc.
Page 530:
... your /etc/hosts would look like this:
127.0.0.1 localhost
128.17.75.20 eggplant.veggie.com eggplant
If you're only using loopback, the only line in /etc/hosts file
should be the address 127.0.0.1.
From "LINUX Network Administrator's Guide", 1995, by Olaf Kirch,
published by O'Reilly & Associates, Inc.
Page 92:
Example 6-5: The named.local file
;
; /var/named/named.local Reverse mapping of 127.0.0
; Origin is 0.0.127.in-addr.arps.
;
...
1 IN PTR localhost
See also "TCP/IP Network Administration", 2nd Ed., Hunt,
O'Reilly 1998. See pages 50-51 for discussion of /etc/hosts and
an example, which are essentially the same as the first example
described above. See pages 215-216 for discussion of the
named.local file, which is also essentially the same as the
second example above.
--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)
(E-Mail Removed)