Article View: news.software.nntp
Article #9208Re: DNS Round-robin news servers
From: none
Date: Wed, 10 Jul 1996 00:00
Date: Wed, 10 Jul 1996 00:00
57 lines
2934 bytes
2934 bytes
Wang Haw wrote: > > We have two news servers and is synchronised with each other (one server is > getting the news feeds from overseas), we want to implement using DNS > round robin the two news servers so that the NNRP access will have the load > balancing between these two servers. > > The DNS implementation looks like this: > > newsserver1 IN A xxx.xxx.xxx.xxx > newsserver2 IN A yyy.yyy.yyy.yyy > news1 IN CNAME newsserver1 > news2 IN CNAME newsserver2 > ; round robin testing > newstest IN CNAME news1 > IN CNAME news2 > > set the NNTPSERVER variable to newstest OK, but where's the mechanism for the "round-robin-ish-ness" of this? All I see is CNAMES. (Maybe I don't realize what version of BIND this is supposed to work with). FWIW: I have the BIND 4.9.2 with the NCSA round-robin mods, which have the following sort of set-up: news IN HINFO news-services 900 IN A xxx.xxx.xxx.xxx 900 IN A yyy.yyy.yyy.yyy IN WKS xxx.xxx.xxx.xxx TCP nntp IN WKS yyy.yyy.yyy.yyy TCP nntp Or something similar. The 900 TTL is to provide some method for cached translations to change once in a while. > > The only problem is the .newsrc file, NNRP access one instant will point to > the newsserver1, the other instant will point to newsserver2, the article In a round-robin DNS, this is only true at the DNS that is providing the robin. Others will use cached answers. You could create a sub-domain. > numbers in .newsrc file will change, hence users will have problem like > articles have been read become unread again. > > Does anyone has any idea how to solve this probelm? Or other method to archive > load balancing and news servers redundancy. Yes, the slave mode of INN will work just fine for the problem. As far as load-balancing ... I've heard Cisco is working on a round-robin, load- balancing "proxy" (for want of a better term) router-ish box called the "Local Director" that will load balance based on network traffic. It would present one address to the world, and route to multiple on the inside. Cost sounded a bit pricey to me - $32k.
Technical Details
Message-ID:
<31E3EDFF.21A3@anon.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:
<4rvsq1$glp@lantana.singnet.com.sg>Show Full Headers
Complete Article Headers
Message-ID: <31E3EDFF.21A3@anon.com> Subject: Re: DNS Round-robin news servers Date: Wed, 10 Jul 1996 00:00:00 +0000 From: none <anon@anon.com> References: <4rvsq1$glp@lantana.singnet.com.sg> 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: 167622662 To: Wang Haw <wh@singnet.com.sg> Content-type: text/plain; charset=us-ascii Organization: GTE Intelligent Network Services, GTE INS Mime-version: 1.0 Newsgroups: news.software.nntp X-mailer: Mozilla 2.01 (X11; U; SunOS 5.5 sun4m)