[nSLUG] New Nova Scotia Open Source mirror, mirror.its.dal.ca

Dan Peterson dpiddy at gmail.com
Mon Aug 29 12:42:19 ADT 2011


On Mon, Aug 29, 2011 at 12:29 PM, D G Teed <donald.teed at gmail.com> wrote:
> Typically I combat DNS caching by keeping the legacy service
> running on the older server with the original IP until access logs
> show we don't have many people relying on the legacy system.
>
> The key is to not restart the service on the legacy system after
> the hostname has been given to a new system.  Say for apache,
> it will continue answering to the hostname it had when the
> service was launched if that is what the client also believes
> is the IP for this host.

iptables with a combination of DNAT and SNAT rules to forward traffic
destined to the old IP to the new IP is pretty handy for this, too,
and something I've used quite a bit at my employer.

-Dan



More information about the nSLUG mailing list