Article View: news.software.nntp
Article #40882Re: Virtual news servers on INN2.2
From: Dale Ghent
Date: Fri, 15 Oct 1999 00:00
Date: Fri, 15 Oct 1999 00:00
57 lines
2729 bytes
2729 bytes
Ron Schofield <rschofie@hfx.andara.com> wrote: : Ron Schofield wrote: :> Ron Schofield wrote: :> :> > Is it possible to setup virtual news servers (i.e. news.server1.com and :> > news.server2.com) with INN 2.2? I think it is possible but have not seen :> > anything in the man pages on virtual servers. Can anybody say yes or no, :> > and if yes how does one go about it? :> :> OK, after getting some pointers on how to do this, I got it to work (with :> COL 2.3). Heres how: :> :> news.vserver1.com 192.168.20.201 :> news.vserver2.com 192.168.20.202 :> :> add the following to /etc/hosts :> :> 192.168.20.201 news.vserver1.com virtualnews1 :> 192.168.20.202 news.vserver2.com virtualnews2 :> :> add the following to /etc/sysconfig/network-scripts/ifcfg-eth0 :> :> ifconfig eth0:1 192.168.20.201 :> route add -host 192.168.20.201 dev eth0:1 :> ifconfig eth0:2 192.168.20.202 :> route add -host 192.168.20.202 dev eth0:2 :> :> in /etc/news/inn.conf :> :> bindaddress: 192.168.20.201 :> :> in /etc/rc.d/local.rc :> :> nnrpd -D -b 192.168.20.202 :> : Then use the nnrp.access file to control the access to the newsgroups. Okay, so you went through all that trouble just so you could use an A record in DNS rather than just CNAME news.vserver2.com to news.vserver1.com ? What exactly does this buy you? In the end, no matter what interface a client connects to, they're seeing the same active file and spool, as well as the same nnrp.access file. You can forego all the virtual interface and inn.conf foo by just CNAME'ing vserver2.com to vserver1.com and putting the appropriate access restrictions in nnrp.access. Am I missing something? /dale
Technical Details
Message-ID:
<2UxN3.9$qN2.1441942@dca1-nnrp1.news.digex.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<38055966.B729A9E9@hfx.andara.com> <38068066.46D06197@hfx.andara.com> <38068160.FB07ACBA@hfx.andara.com>Show Full Headers
Complete Article Headers
Message-ID: <2UxN3.9$qN2.1441942@dca1-nnrp1.news.digex.net>
Subject: Re: Virtual news servers on INN2.2
Date: Fri, 15 Oct 1999 00:00:00 +0000
From: Dale Ghent <daleg@elemental.org>
References: <38055966.B729A9E9@hfx.andara.com> <38068066.46D06197@hfx.andara.com> <38068160.FB07ACBA@hfx.andara.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 536937574
X-Complaints-To: abuse@digex.net
X-Trace: dca1-nnrp1.news.digex.net 939960958 204.91.240.101 (Fri, 15 Oct 1999 00:15:58 EDT)
Organization: Intermedia Business Internet - Beltsville, MD
User-Agent: tin/pre-1.4-19990805 ("Preacher Man") (UNIX) (SunOS/5.7 (sun4m))
NNTP-Posting-Date: Fri, 15 Oct 1999 00:15:58 EDT
Newsgroups: news.software.nntp