Article View: news.software.nntp
Article #80281Re: HOWTO change IPs of a productive server, smoothly?
From: D. Stussy
Date: Sun, 08 Mar 2009 21:23
Date: Sun, 08 Mar 2009 21:23
57 lines
4044 bytes
4044 bytes
"Michael Grimm" <trashcan@odo.in-berlin.de> wrote in message news:gp1b9f$cg7$1@de-l.enfer-du-nord.net... > D. Stussy <spam@bde-arc.ampr.org> wrote: > > "Michael Grimm" <trashcan@odo.in-berlin.de> wrote in message news:gos3dm$21ju$1@de-l.enfer-du-nord.net... > > >> I need to change the IPs of my newsserver for various reasons. > > > > E-mailing them is what I do. > > Well, that's what I initiated an hour ago with those very few remaining. > It really surprised me how many did recognize my new IP without any > interference from my side. > > > Incoming.conf or newsfeeds/innfeed.conf aren't regularly reloaded by any > > INN server in a default setup. > > Yes. But I have been referring to incoming.conf. Sending articles to a > peer will be rapidly recognized when it comes to an IP change, but > receiving articles means reloading incoming.conf which is a default > setup in crontab on those platforms I did run INN sofar: Slackware, > IRIX, Debian, FreeBSD. But, I have been taught that it might not a good > idea to reload incoming.conf every night (DNS hickups and alike). > > It would be a nice addon to innfeed, if one could propagate IP changes > to peers using the established and accepted old IP. Feel free to write a control message driver for such. However, instead of concentrating on the IP change, I would concentrate on the reload function. I think it should be restricted as follows: When the control message comes in, the driver looks at the last path element, does a DNS lookup on that, and compares the IP address to the IP address of the socket that the message arrived on. Only if they match should the operation (reload "X") be performed. This will limit the operation to those direct peers who receive the message from the peer issuing the message. All other servers will ignore the operation. There is one problem with this (which can be solved in "newsfeeds"): If any two peers of the issuing system also peer, it's possible that the message arrives via that peering instead of directly from the issuer and therefore won't be executed, and when the direct copy arrives, it is ignored. Even if the indirect copy removes itself from the history list, there could be a race condition that still ignores the direct copy - i.e. the direct copy comes in while the indirect copy is processing but hasn't removed its history entry yet. [The newsfeeds solution involves using the hop-control parameter, set to propagate on hop 1 only.] Considering all that, e-mail between administrators is still probably better. On my news server's primary web page where I list my peers, I also list what I think their IP address(es) is(are) (via a DNS lookup on their names from incoming.conf). Sometimes, I see the changes; sometimes not. At least that way, they know when any changes have propagated via DNS to me.
Technical Details
Message-ID:
<gp1d0e$o4i$1@aux.snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!weretis.net!news.snarked.org!not-for-mailReferences:
<gos3dm$21ju$1@de-l.enfer-du-nord.net> <gosb7u$179$1@aux.snarked.org> <gp1b9f$cg7$1@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <gp1d0e$o4i$1@aux.snarked.org> Subject: Re: HOWTO change IPs of a productive server, smoothly? Date: Sun, 8 Mar 2009 14:23:22 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <gos3dm$21ju$1@de-l.enfer-du-nord.net> <gosb7u$179$1@aux.snarked.org> <gp1b9f$cg7$1@de-l.enfer-du-nord.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.20141118.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!weretis.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 57 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net X-Trace: aux.snarked.org 1236547406 24722 71.106.211.188 (8 Mar 2009 21:23:26 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Sun, 8 Mar 2009 21:23:26 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478