🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #189400

setting FQDN in /etc/hosts

#189400
From: Thufir
Date: Fri, 18 Aug 2006 17:43
56 lines
3079 bytes
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
Technical Details
Message-ID: <1155922996.353013.89150@h48g2000cwc.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!h48g2000cwc.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1155922996.353013.89150@h48g2000cwc.googlegroups.com>
Subject: setting FQDN in /etc/hosts
Date: Fri, 18 Aug 2006 17:43:16 +0000
From: "Thufir" <hawat.thufir@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!h48g2000cwc.googlegroups.com!not-for-mail
Newsgroups: news.software.readers
Organization: http://groups.google.com
Lines: 56
NNTP-Posting-Host: 24.84.131.197
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1155923001 27563 127.0.0.1 (18 Aug 2006 17:43:21
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 18 Aug 2006 17:43:21 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US;
 pango-text,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: h48g2000cwc.googlegroups.com; posting-host=24.84.131.197;
 posting-account=fzKvuw0AAABwacCCYjdJ_2qlt6GHSH_U