🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #182709

Re: FQDN for Leafnode

#182709
From: Neil Woods
Date: Mon, 27 Mar 2006 17:50
82 lines
4505 bytes
hawat.thufir@gmail.com writes:

> Neil Woods wrote:
> ..
>> For some reason you have 127.0.0.1 resolving to
>> hawat.thufir.gmail.com. It should _only_ resolve to localhost (and vice
>> versa).  And you *definitely* shouldn't use a domain that doesn't belong
>> to you.
>>
>> It looks to me like your /etc/hosts file is misconfigured.
> ..

[...]
>     10  #127.0.0.1      localhost
>     11  127.0.0.1       hawat.thufir.gmail.com  arrakis localhost
>     12  192.168.0.2     gravity.twi-31o2.org gravity

OK, that's incorrect.

> For a FQDN, obviously I don't own gmail.com, but I understood that I
> should pick something valid.

Yes.  If you don't own a domain name, you can get one from one of the
free dynamic DNS services such as dyndns.org.  See their web site for
details.

> So I changed it to:
>
> thufir@localhost ~ $
> thufir@localhost ~ $
> thufir@localhost ~ $ cat -n /etc/hosts
[...]
>     10  #127.0.0.1      localhost
>     11  127.0.0.1       hawat.thufir.invalid arrakis localhost

Still not right. 127.0.0.1 should _only_ resolve to localhost, at least
on the same line.  Use something like this:

127.0.0.1          localhost
127.0.0.1          hawat.thufir.invalid hawat arrakis

Because of the way the resolver works, putting the name on a separate
line /should/ work (IIRC), even though they both point to the same IP
address.  The order is important here.

Though really, I don't know if you need the second entry here, as
Leafnode should work OK with the 'hostname' entry you already have in
the leafnode config file.

>     12  192.168.0.2     gravity.twi-31o2.org gravity

This is incorrect, even if you happened to own the domain, which I
doubt.  For a start gravity.twi-31o2.org does not have an A record, but
it *does* have an AAAA record (IPv6).

% host gravity.twi-31o2.org
gravity.twi-31o2.org has IPv6 address 3ffe:bc0:23:1:290:27ff:fe81:b234

Why have you got this entry here?

> thufir@localhost ~ $ cat -n /etc/leafnode/config
[...]

>     10  hostname = hawat.thufir.invalid

Sorry, this is not correct here, the use of .invalid, whilst OK for use
in constructing fake email addresses, is not, strictly speaking, OK to
use when constructing a message-id.  Leafnode will fail with this
setting. 

My best advice to you would be to use DynDNS.org to obtain a valid (and
free) domain.  If you don't wish to do that, then you might get away
with using your original .gmail.com entry in /etc/leafnode/config, but
bear in mind that doing so is not strictly "allowed" (i.e. using a domain
name you don't own) but will at least get you up and running.

Hope this helps.

-- 
Neil.
* wichert_ imagines master without a MTA
<james> wichert: ehm?  that might hinder peformance of the BTS :p
Technical Details
Message-ID: <87d5g7aib5.fsf@phun.phasmic.org>
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!newscon06.news.prodigy.com!prodigy.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.com> <mf2gf3-isc.ln1@ID-107770.user.individual.net> <1143310596.083858.270300@i39g2000cwa.googlegroups.com> <irlgf3-lvh.ln1@ID-107770.user.individual.net> <1143327438.223962.198770@g10g2000cwb.googlegroups.com> <6t3hf3-k0m.ln1@ID-107770.user.individual.net> <1143377296.837234.116110@i39g2000cwa.googlegroups.com> <slrne2dd7v.o7v.pjr@nntp.alcatroll.com> <1143398486.739176.180940@g10g2000cwb.googlegroups.com> <slrne2e2at.o7v.pjr@nntp.alcatroll.com> <1143413194.784286.156640@v46g2000cwv.googlegroups.com> <slrne2e8d6.o7v.pjr@nntp.alcatroll.com> <1143434578.751938.222490@i39g2000cwa.googlegroups.com> <87irq09xe4.fsf@phun.phasmic.org> <1143467315.641557.83980@v46g2000cwv.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <87d5g7aib5.fsf@phun.phasmic.org>
Subject: Re: FQDN for Leafnode
Date: Mon, 27 Mar 2006 18:50:06 +0100
From: Neil Woods <cnw+usenet-0603@pobox.com>
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.com> <mf2gf3-isc.ln1@ID-107770.user.individual.net> <1143310596.083858.270300@i39g2000cwa.googlegroups.com> <irlgf3-lvh.ln1@ID-107770.user.individual.net> <1143327438.223962.198770@g10g2000cwb.googlegroups.com> <6t3hf3-k0m.ln1@ID-107770.user.individual.net> <1143377296.837234.116110@i39g2000cwa.googlegroups.com> <slrne2dd7v.o7v.pjr@nntp.alcatroll.com> <1143398486.739176.180940@g10g2000cwb.googlegroups.com> <slrne2e2at.o7v.pjr@nntp.alcatroll.com> <1143413194.784286.156640@v46g2000cwv.googlegroups.com> <slrne2e8d6.o7v.pjr@nntp.alcatroll.com> <1143434578.751938.222490@i39g2000cwa.googlegroups.com> <87irq09xe4.fsf@phun.phasmic.org> <1143467315.641557.83980@v46g2000cwv.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!newscon06.news.prodigy.com!prodigy.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: (TINO)
Lines: 82
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net NhwKMhqyetfj3ngqTDtanwWvKZB19AwG3pkVNIpcfEaoOyoFtQ
Mail-Copies-To: nobody
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)
Cancel-Lock: sha1:Qchv7ggi9mv9viiLOsUxDCRykOM=