🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #750

Re: "Path"

#750
From: Craig Leres
Date: Mon, 22 Oct 1990 23:35
16 lines
1380 bytes
Don Lewis writes:
> If you are posting from the other hosts using the mini-inews supplied
> with nntp and gethostbyname() does not return a fully qualified domain
> name for the current host (as on Suns using YP/NIS), [...]

If this is your problem then the hosts file you're loading into the yp
map is wrong. The h_name field of the hostnet struct is supposed to be
the official (read canonical) name of the host. This means that you
really want the fully qualified domain name first:

	128.3.112.36    dog.ee.lbl.gov dog

it breaks more than the mini-inews if the "alias" appears first.

		Craig
Technical Details
Message-ID: <7714@dog.ee.lbl.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!dog.ee.lbl.gov!ace.ee.lbl.gov!leres
References: <1990Oct3.145435.19729@wdl1.wdl.fac.com> <1990Oct18.004159.25479@mlb.semi.harris.com>

Show Full Headers
Complete Article Headers
Message-ID: <7714@dog.ee.lbl.gov>
Subject: Re: "Path"
Date: Mon, 22 Oct 1990 23:35:20 +0000
From: leres@ace.ee.lbl.gov (Craig Leres)
References: <1990Oct3.145435.19729@wdl1.wdl.fac.com> <1990Oct18.004159.25479@mlb.semi.harris.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!dog.ee.lbl.gov!ace.ee.lbl.gov!leres
Newsgroups: news.software.nntp
Sender: usenet@dog.ee.lbl.gov
Reply-To: leres@helios.ee.lbl.gov (ucbvax!leres for uucp weenies)
Organization: Lawrence Berkeley Laboratory, Berkeley
Lines: 15
X-Local-Date: Mon, 22 Oct 90 16:35:21 PDT