Thread View: news.software.nntp
8 messages
8 total messages
Started by Bitflogger
Wed, 27 Feb 2002 19:33
News SERVICE name vs. HOST name
Author: Bitflogger
Date: Wed, 27 Feb 2002 19:33
Date: Wed, 27 Feb 2002 19:33
38 lines
2472 bytes
2472 bytes
I'd like to have a news service with a given DNS name, it would keep
that DNS name over its lifetime. Over time it would be on a few
different hosts, they would keep their DNS names and hostnames.
On a test system named CSM1, I changed inn.conf to claim its name is
CSM2 (a better name might be NEWS).
The CSM1 name still shows up in the headers (Message-ID, X-Trace) of a
posted article, see below.
I would like
1. CSM2 to be in all headers instead of CSM1, OR
2. The actual hostname being different from the service name would
not cause big problems. Maybe this is already true.
Your thoughts?
Path: csm2.doit.wisc.edu!not-for-mail
From: "Earl Dukerschein" <eadukers@facstaff.wisc.edu>
Newsgroups: uw-madison.test
Subject: test 50
Date: Tue, 26 Feb 2002 08:42:14 -0600
Organization: University of Wisconsin, Madison
Lines: 3
Message-ID: <a5g6n5$cj8$1@csm1.doit.wisc.edu>
NNTP-Posting-Host: bitflogger.doit.wisc.edu
X-Trace: csm1.doit.wisc.edu 1014734373 12904 128.104.18.191 (26 Feb 2002
14:39:33 GMT)
X-Complaints-To: abuse@doit.wisc.edu
NNTP-Posting-Date: Tue, 26 Feb 2002 14:39:33 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Xref: csm2.doit.wisc.edu uw-madison.test:865
Re: News SERVICE name vs. HOST name
Author: Jeffrey M. Vinocur
Date: Wed, 27 Feb 2002 19:50
Date: Wed, 27 Feb 2002 19:50
38 lines
2067 bytes
2067 bytes
In article <3C7D3474.7080502@doit.wisc.edu>, Bitflogger <earl.dukerschein@doit.wisc.edu> wrote: >I'd like to have a news service with a given DNS name, it would keep >that DNS name over its lifetime. Over time it would be on a few >different hosts, they would keep their DNS names and hostnames. Sure, just make your NEWS DNS record be a CNAME. >On a test system named CSM1, I changed inn.conf to claim its name is >CSM2 (a better name might be NEWS). > >The CSM1 name still shows up in the headers (Message-ID, X-Trace) of a >posted article, see below. I honestly can't remember where nnrpd gets that information. Hmm. Ok, the "domain:" setting in readers.conf access blocks will set it. That defaults to the "domain:" setting in inn.conf, though, so try changing that. >I would like > 1. CSM2 to be in all headers instead of CSM1, OR Try the above. > 2. The actual hostname being different from the service name would >not cause big problems. Maybe this is already true. Sure, no big deal. -- Jeffrey M. Vinocur jeff@litech.org
Re: News SERVICE name vs. HOST name
Author: Bitflogger
Date: Thu, 28 Feb 2002 19:20
Date: Thu, 28 Feb 2002 19:20
7 lines
1379 bytes
1379 bytes
The following hack at the beginning of getfqdn.c made the headers right.
(void)strcpy(buff, "csm2.doit.wisc.edu");
return buff;
Re: News SERVICE name vs. HOST name
Author: Jeffrey M. Vinocur
Date: Thu, 28 Feb 2002 19:48
Date: Thu, 28 Feb 2002 19:48
23 lines
1766 bytes
1766 bytes
In article <3C7E82EF.7030508@doit.wisc.edu>, Bitflogger <earl.dukerschein@doit.wisc.edu> wrote: >The following hack at the beginning of getfqdn.c made the headers right. > >(void)strcpy(buff, "csm2.doit.wisc.edu"); > return buff; Eeek. (The problem is that if you ever do a minor upgrade to the server, and forget to redo the hack, things will change suddenly.) Did you try domain: in inn.conf? Oh wait, it looks like that's only used if the resolver calls fail. Hrm. Maybe we should have an overridefqdn: parameter as well, that would allow domain: to override what the system determines for itself. Does this sound like a good or bad idea to anybody? -- Jeffrey M. Vinocur jeff@litech.org
Re: News SERVICE name vs. HOST name
Author: Russ Allbery
Date: Thu, 28 Feb 2002 21:36
Date: Thu, 28 Feb 2002 21:36
34 lines
2641 bytes
2641 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Eeek. (The problem is that if you ever do a minor upgrade to the
> server, and forget to redo the hack, things will change suddenly.)
> Did you try domain: in inn.conf? Oh wait, it looks like that's only
> used if the resolver calls fail.
> Hrm. Maybe we should have an overridefqdn: parameter as well, that
> would allow domain: to override what the system determines for itself.
> Does this sound like a good or bad idea to anybody?
There was much discussion of this on inn-workers a while back. See
<http://www.isc.org/ml-archives/inn-workers/1999/09/msg00183.html>
and the resulting thread. I think we reached some sort of vague consensus
that having a parameter to set this would be a good thing, but we didn't
reach an agreement on the parameter. I'm loathe to add another inn.conf
parameter if we can avoid it, particularly right now while inn.conf is
still a giant flat file. fromhost makes the most sense to me, but there
are those caveats mentioned in that thread.
domain isn't the right thing to use for this because domain sets the
domain, not the full host name, and you'd end up potentially generating
message IDs on multiple servers at the same organization into the same
message ID namespace, opening up the possibilities of duplication.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: News SERVICE name vs. HOST name
Author: Jeffrey M. Vinocur
Date: Thu, 28 Feb 2002 22:45
Date: Thu, 28 Feb 2002 22:45
42 lines
2418 bytes
2418 bytes
In article <ylu1s15lvt.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > > [ setting right-hand side for Message-ID generation ] > > <http://www.isc.org/ml-archives/inn-workers/1999/09/msg00183.html> Ahhh. Ho hum. >I think we reached some sort of vague consensus that having a >parameter to set this would be a good thing, but we didn't reach >an agreement on the parameter. I'm loathe to add another >inn.conf parameter if we can avoid it, particularly right now >while inn.conf is still a giant flat file. I don't think it's the end of the world, personally. At this point the difference between n and n+1 is pretty negligible. >fromhost makes the most sense to me, but there are those caveats >mentioned in that thread. True. >domain isn't the right thing to use for this because domain sets the >domain, not the full host name, and you'd end up potentially generating >message IDs on multiple servers at the same organization into the same >message ID namespace, opening up the possibilities of duplication. I suggested domain because that's what the virtualhosting stuff in readers.conf calls it...I hadn't thought about large sites. Hmm. We could add some hash of the FQDN to the left-hand side of the Message-IDs. -- Jeffrey M. Vinocur jeff@litech.org
Re: News SERVICE name vs. HOST name
Author: Russ Allbery
Date: Thu, 28 Feb 2002 23:00
Date: Thu, 28 Feb 2002 23:00
29 lines
2191 bytes
2191 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> [ setting right-hand side for Message-ID generation ]
>>
>> <http://www.isc.org/ml-archives/inn-workers/1999/09/msg00183.html>
> Ahhh. Ho hum.
>> I think we reached some sort of vague consensus that having a parameter
>> to set this would be a good thing, but we didn't reach an agreement on
>> the parameter. I'm loathe to add another inn.conf parameter if we can
>> avoid it, particularly right now while inn.conf is still a giant flat
>> file.
> I don't think it's the end of the world, personally. At this point the
> difference between n and n+1 is pretty negligible.
Yeah, probably.
If you feel like implementing something, feel free to commit whatever
approach makes the most sense to you (at least as far as I'm concerned).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: News SERVICE name vs. HOST name
Author: Bitflogger
Date: Fri, 01 Mar 2002 22:27
Date: Fri, 01 Mar 2002 22:27
14 lines
1721 bytes
1721 bytes
Since compiling is such fun, and I used to hack in some authentication code, I always keep a file of notes about what to watch out for and check it before doing an upgrade. But an inn.conf file parameter would be nice. Jeffrey M. Vinocur wrote: > Eeek. (The problem is that if you ever do a minor upgrade to the > server, and forget to redo the hack, things will change > suddenly.) >
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