[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Change All TTL's??
- Subject: Re: [cobalt-users] Change All TTL's??
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Wed Jan 10 20:32:41 2001
- Organization: nobaloney.net
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
MistaAviB@xxxxxxx wrote:
> Is there anyway to set ALL the TTL's on ALL the records on the raq3 to 60
> seconds so that way we can have the change go quickly then change it back the
> next day? It's a pain to have to got thru hundreds of DNS records 1 by 1 and
> change the TTL?
Each zone file (something like /etc/named/pri.domain.com) has a line
similar to this:
$TTL 36000
(but with a different number)
Create a shell script to edit these lines and change them to:
$TTL 60
for each file (I leave how up to you, Avi).
Then restart the nameserver, but NOT through the GUI.
# kill -HUP `cat /var/run/named.pid`
(note the back-ticks)
WARNING: Don't do anything DNS-related through the gui until you want
to change them back.
To change everything back, just do something DNS-related, and click on
SAVE CHANGES.
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205