Elia <
m...@elia.li> wrote:
> I have recently changed the IP address of my news server, also updated
> the DNS entry. Issue is, the sites I peer with seem to update the IP
> address associated to the hostname, meaning that my server cannot
> recieve feeds from them, nor are they pulling feeds from mine.
I remember when I did it. I moved the server to another machine, so
obviously the IP has changed. I made a transition period, where I added
iptables rules to the old server to direct traffic over VPN to the new
server (each peer had its own private IP assigned in this VPN, and it was
used as a source IP).
Outgoing traffic was handled similarly -- routed through the old server.
Then I notified peers about the IP change and waited patiently. Once they
confirmed the change and I confirmed that they connect to the proper IP, I
redirected outgoing traffic, so it originated from the proper IP, and
removed the incoming traffic rule.
The same was true for readers. During the transition period they were able
to connect to and use both IPs.
It was a little pain to set up, but made the transition smooth and there
was almost no disruption (minus the time needed to shut down the server,
copy everything, and restart it at the new location).
But... there's one server that's almost abandoned, that made the
transition automatically. I don't know if it reloads incoming.conf daily,
or what, but the IP has changed, and the server switched to the new one
(probably overnight) and I'm almost sure there was no admin intervention.