From owner-freebsd-isp Wed Mar 5 20:17:25 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C05237B401 for ; Wed, 5 Mar 2003 20:17:23 -0800 (PST) Received: from cuzco.comnet.co.nz (Cuzco.ComNet.CO.NZ [131.203.248.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E289A43FAF for ; Wed, 5 Mar 2003 20:17:21 -0800 (PST) (envelope-from d.jones@comnet.co.nz) Received: from xyz.comnet.co.nz (atmos.comnet.co.nz [131.203.10.32]) by cuzco.comnet.co.nz (8.10.2/8.10.2) with ESMTP id h264HKT36175 for ; Thu, 6 Mar 2003 17:17:20 +1300 (NZDT) Subject: Re: [freebsd] IP addresses changing... From: Donovan Jones To: freebsd-isp@FreeBSD.ORG In-Reply-To: <200303060331.h263VajI021210@p3.saignon.net> References: <200303060331.h263VajI021210@p3.saignon.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8-3mdk Date: 06 Mar 2003 17:11:38 +1300 Message-Id: <1046923904.23629.33.camel@atmos> Mime-Version: 1.0 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 2003-03-06 at 16:31, tony wrote: > > I just received an email from my ISP that all my IP addresses are changing! > > Any hints from anyone on how to keep the downtime minimal, and update all my > DNS records so I don't fall off the face of the Internet! > > I have 5 days.... change the ttls (time to live) for the mission critical records. The ttls affect how long a non authoratitive server will cache the record for, defaults are often 86400 secs or 1 day you should change these to something low like 300secs (5min) in bind8 the way to do this in a zone file is eg for a MX and a A record: 300 IN MX 10 mailhost.xyz.com. ftp 300 IN A 11.67.16.11 alternatively you could change the default for all records in the zone by altering the first line: $TTL 86400 to some lower value. It should be a similar process with bind9 / other dns servers. dont forget to ndc reload; tail /var/log/messages | grep named if youre trouble shooting and want to check is some other server has cached an old record try this command host -v www.your-domain.com ns1.some-other-isp.com the ANSWER SECTION will contain the record and TTL value for email do host -v -t your-domain.com ns1.some-other-isp.com for the mx records ttls hope that helps Don Jones To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message