Article View: news.software.nntp
Article #40876Re: Virtual news servers on INN2.2
From: Ron Schofield
Date: Fri, 15 Oct 1999 00:00
Date: Fri, 15 Oct 1999 00:00
66 lines
3065 bytes
3065 bytes
Dale Ghent wrote: > 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 ? > Not my DNS server, its my providers. They provide the IPs and I send them the domain names. They enter it in their system. > > 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:
<3806AEB8.DD74F02F@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-mailReferences:
<38055966.B729A9E9@hfx.andara.com> <38068066.46D06197@hfx.andara.com> <38068160.FB07ACBA@hfx.andara.com> <2UxN3.9$qN2.1441942@dca1-nnrp1.news.digex.net>Show Full Headers
Complete Article Headers
Message-ID: <3806AEB8.DD74F02F@hfx.andara.com> Subject: Re: Virtual news servers on INN2.2 Date: Fri, 15 Oct 1999 00:00:00 +0000 From: Ron Schofield <rschofie@hfx.andara.com> References: <38055966.B729A9E9@hfx.andara.com> <38068066.46D06197@hfx.andara.com> <38068160.FB07ACBA@hfx.andara.com> <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-mail X-Deja-AN: 536939914 Content-Transfer-Encoding: 7bit To: Dale Ghent <daleg@elemental.org> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: postmaster@Dal.Ca X-Trace: News.Dal.Ca 939961868 9696 129.173.168.102 (15 Oct 1999 04:31:08 GMT) Organization: ISINet, Nova Scotia Mime-Version: 1.0 NNTP-Posting-Date: 15 Oct 1999 04:31:08 GMT Newsgroups: news.software.nntp