setting FQDN in /etc/hosts



I'm running Fedora (FC5) and am reading:

'2. On many systems, you will have to put the fully qualified host name
into /etc/hosts, too, so the system can find out the full name with
domain if given just its bare name without a domain. (On networked
systems, using NIS, DNS or LDAP is also feasible if the client is
configured to use the respective system to resolve host names.)
Usually, a computer that is to resolve a hostname will look at
/etc/hosts first and then at DNS.

An /etc/hosts line might look like this:

192.168.0.1 abacus.mid.example.com abacus oldname

Keep the original name of the computer as an alias in case you
configured some other software to use the old name.'
<http://www.leafnode.org/doc_en/README-FQDN.html>


Here's what I have so far:

[root@localhost ~]#
[root@localhost ~]# cat /etc/hosts -n
1 # Do not remove the following line, or various programs
2 # that require network functionality will fail.
3 127.0.0.1 geidiprime.servebeer.com geidiprime
localhost
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@localhost ~]# fetchnews -vvv

Leafnode must have a fully-qualified and globally unique domain name,
not just "localhost.localdomain".
Edit your /etc/hosts file to add a unique, fully qualified domain name.
"localhost.localdomain" or thereabouts will not work;
it's qualified, but not unique.
Please see the README-FQDN file for details.

Killed
[root@localhost ~]# telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@localhost ~]# date
Fri Aug 18 11:38:57 IST 2006
[root@localhost ~]#


Did I not enter a FQDN in the /etc/hosts?



thanks,

Thufir

.