🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by andrew Sat, 03 Jan 2009 04:35
Slackware vs nn: 'You need a fully qualified domain name'?
#10872
Author: andrew
Date: Sat, 03 Jan 2009 04:35
12 lines
1366 bytes
Hi,

Has anybody found a resolution to the demands by nn for a fqdn under
slackware when one is already set. I have used an elaborate script to
keep /etc/resolv.conf updated and nn content but there must be a better
way?

Andrew

-- 
echo 'hfrarg.naqerj@tznvy.pbz' | \
tr 'A-M N-Z a-m n-z' 'N-Z A-M n-z a-m'
Re: Slackware vs nn: 'You need a fully qualified domain name'?
#10874
Author: Aaron W. Hsu
Date: Sun, 11 Jan 2009 05:34
27 lines
2747 bytes
andrew <andrew@skamandros.invalid> writes:

>Has anybody found a resolution to the demands by nn for a fqdn under
>slackware when one is already set. I have used an elaborate script to
>keep /etc/resolv.conf updated and nn content but there must be a better
>way?

Normally this isn't a problem because you can work around it, but 
if I recall correctly, I got around it by editing my hostname value 
such that it would return a full domain rather than just the first 
part of the domain.  I think this was easiest for me.  The main issue 
is just getting hostname(1) to give out the full name when you 
run it without commands.  If you can do that, I think NN behaves. 

IIRC, this has to do with the way NN and gethostname() work or some 
such thing.  In normal UNIX, the full domain name is returned, whereas 
in Linux/Slackware, only the first part of the name is returned. 

There are easy solutions to this problem, but for the life of me, I 
do not remember them.  It has been too long since I worked on it.


-- 
Aaron W. Hsu <arcfide@sacrideo.us> | <http://www.sacrideo.us>
"Government is the great fiction, through which everybody endeavors to
live at the expense of everybody else." -- Frederic Bastiat
+++++++++++++++ ((lambda (x) (x x)) (lambda (x) (x x))) ++++++++++++++
Re: Slackware vs nn: 'You need a fully qualified domain name'?
#10885
Author: Bob Vloon
Date: Sat, 28 Mar 2009 10:39
13 lines
1548 bytes
Hi Andrew,

> Has anybody found a resolution to the demands by nn for a fqdn under
> slackware when one is already set. I have used an elaborate script to
> keep /etc/resolv.conf updated and nn content but there must be a better
> way?

For me adding the line "domain my.domain.name" to /etc/resolv.conf was
sufficient (Debian Etch / Lenny).

Regards,

  Bob
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads