Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 13:11:41 -0400
From:      "Drew J. Weaver" <drew.weaver@thenap.com>
To:        'Simon' <simon@optinet.com>, David Wilson <davew@sai.co.za>, freebsd-isp@freebsd.org
Subject:   RE: Changing DNS serials in multiple zone files
Message-ID:  <B1A7D9973EBED3119ADD009027DC8649181036@mailman.thenap.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
He could have PHP/PERL load all of the zones into an array and change the
number from something to something else, but this would be a custom script.
 
-Drew
 

-----Original Message-----
From: Simon [mailto:simon@optinet.com]
Sent: Monday, April 23, 2001 12:59 PM
To: David Wilson; freebsd-isp@freebsd.org
Subject: Re: Changing DNS serials in multiple zone files


This depends on your zone file's format. You can use perl, etc... to do
this. Or, depending on what you're trying to accomplish, you can just delete
all zone files from slave servers and restart them. This will cause slave
servers to load new zone files.

-Simon

--Original Message Text---
From: David Wilson
Date: Mon, 23 Apr 2001 18:50:13 +0200

Hi All, howzit going ?

I'm sure this is pretty easy, I'm just not sure on how to do it. ;-)

I have 300 DNS zones on my FreeBSD boxlet, and I need to change the serials
on all of them.
How would go about doing this in one easy step so that I didn't have to vi
300 times. ?
Thanks, any guidance would be greatly appreciated.



Regards 

David Wilson 

Technical Support Centre 

The S.A Internet 

0860 100 869 

http://www.sai.co.za






[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2462.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=290315216-23042001><FONT face=Arial color=#0000ff size=2>He 
could have PHP/PERL load all of the zones into an array and change the number 
from something to something else, but this would be a custom 
script.</FONT></SPAN></DIV>
<DIV><SPAN class=290315216-23042001><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=290315216-23042001><FONT face=Arial color=#0000ff 
size=2>-Drew</FONT></SPAN></DIV>
<DIV><SPAN class=290315216-23042001></SPAN>&nbsp;</DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Simon 
  [mailto:simon@optinet.com]<BR><B>Sent:</B> Monday, April 23, 2001 12:59 
  PM<BR><B>To:</B> David Wilson; freebsd-isp@freebsd.org<BR><B>Subject:</B> Re: 
  Changing DNS serials in multiple zone files<BR><BR></FONT></DIV><FONT 
  face="MS Shell Dlg" DEFAULT="FACE"><FONT size=1 DEFAULT="SIZE" 
  POINTSIZE="8">This depends on your zone file's format. You can use perl, 
  etc... to do this. Or, depending on what you're trying to accomplish, you can 
  just delete all zone files from slave servers and restart them. This will 
  cause slave servers to load new zone files.<BR><BR>-Simon<BR><BR>--Original 
  Message Text---<BR><B>From:</B> David Wilson<BR><B>Date:</B> Mon, 23 Apr 2001 
  18:50:13 +0200<BR><BR><FONT face=Arial><FONT size=2 POINTSIZE="10">Hi All, 
  howzit going ?<FONT face="MS Shell Dlg" DEFAULT="FACE"><FONT size=1 
  DEFAULT="SIZE" POINTSIZE="8"><BR><BR><FONT face=Arial><FONT size=2 
  POINTSIZE="10">I'm sure this is pretty easy, I'm just not sure on how to do 
  it. ;-)<FONT face="MS Shell Dlg" DEFAULT="FACE"><FONT size=1 DEFAULT="SIZE" 
  POINTSIZE="8"><BR><BR><FONT face=Arial><FONT size=2 POINTSIZE="10">I have 300 
  DNS zones on my FreeBSD boxlet, and I need to change the serials on all of 
  them.<FONT face="MS Shell Dlg" DEFAULT="FACE"><FONT size=1 DEFAULT="SIZE" 
  POINTSIZE="8"><BR><FONT face=Arial><FONT size=2 POINTSIZE="10">How would go 
  about doing this in one easy step so that I didn't have to vi 300 times. 
  ?<FONT face="MS Shell Dlg" DEFAULT="FACE"><FONT size=1 DEFAULT="SIZE" 
  POINTSIZE="8"><BR><FONT face=Arial><FONT size=2 POINTSIZE="10">Thanks, any 
  guidance would be greatly appreciated.<FONT face="MS Shell Dlg" 
  DEFAULT="FACE"><FONT size=1 DEFAULT="SIZE" POINTSIZE="8"><BR><BR><BR><BR><FONT 
  size=2 POINTSIZE="10">Regards<FONT size=1 DEFAULT="SIZE" POINTSIZE="8"> 
  <BR><BR><FONT size=2 POINTSIZE="10">David Wilson<FONT size=1 DEFAULT="SIZE" 
  POINTSIZE="8"> <BR><BR><FONT size=2 POINTSIZE="10">Technical Support 
  Centre<FONT size=1 DEFAULT="SIZE" POINTSIZE="8"> <BR><BR><FONT size=2 
  POINTSIZE="10">The S.A Internet<FONT size=1 DEFAULT="SIZE" POINTSIZE="8"> 
  <BR><BR><FONT size=2 POINTSIZE="10">0860 100 869<FONT size=1 DEFAULT="SIZE" 
  POINTSIZE="8"> <BR><BR><FONT size=2 POINTSIZE="10">http://www.sai.co.za<FONT 
  size=1 DEFAULT="SIZE" 
POINTSIZE="8"><BR><BR><BR><BR></BLOCKQUOTE></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></BODY></HTML>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1A7D9973EBED3119ADD009027DC8649181036>