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>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0CC18.787512D6
Content-Type: text/plain;
	charset="iso-8859-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






------_=_NextPart_001_01C0CC18.787512D6
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D290315216-23042001><FONT face=3DArial =
color=3D#0000ff size=3D2>He=20
could have PHP/PERL load all of the zones into an array and change the =
number=20
from something to something else, but this would be a custom=20
script.</FONT></SPAN></DIV>
<DIV><SPAN class=3D290315216-23042001><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D290315216-23042001><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>-Drew</FONT></SPAN></DIV>
<DIV><SPAN class=3D290315216-23042001></SPAN>&nbsp;</DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Simon=20
  [mailto:simon@optinet.com]<BR><B>Sent:</B> Monday, April 23, 2001 =
12:59=20
  PM<BR><B>To:</B> David Wilson; =
freebsd-isp@freebsd.org<BR><B>Subject:</B> Re:=20
  Changing DNS serials in multiple zone files<BR><BR></FONT></DIV><FONT =

  face=3D"MS Shell Dlg" DEFAULT=3D"FACE"><FONT size=3D1 =
DEFAULT=3D"SIZE"=20
  POINTSIZE=3D"8">This depends on your zone file's format. You can use =
perl,=20
  etc... to do this. Or, depending on what you're trying to accomplish, =
you can=20
  just delete all zone files from slave servers and restart them. This =
will=20
  cause slave servers to load new zone =
files.<BR><BR>-Simon<BR><BR>--Original=20
  Message Text---<BR><B>From:</B> David Wilson<BR><B>Date:</B> Mon, 23 =
Apr 2001=20
  18:50:13 +0200<BR><BR><FONT face=3DArial><FONT size=3D2 =
POINTSIZE=3D"10">Hi All,=20
  howzit going ?<FONT face=3D"MS Shell Dlg" DEFAULT=3D"FACE"><FONT =
size=3D1=20
  DEFAULT=3D"SIZE" POINTSIZE=3D"8"><BR><BR><FONT face=3DArial><FONT =
size=3D2=20
  POINTSIZE=3D"10">I'm sure this is pretty easy, I'm just not sure on =
how to do=20
  it. ;-)<FONT face=3D"MS Shell Dlg" DEFAULT=3D"FACE"><FONT size=3D1 =
DEFAULT=3D"SIZE"=20
  POINTSIZE=3D"8"><BR><BR><FONT face=3DArial><FONT size=3D2 =
POINTSIZE=3D"10">I have 300=20
  DNS zones on my FreeBSD boxlet, and I need to change the serials on =
all of=20
  them.<FONT face=3D"MS Shell Dlg" DEFAULT=3D"FACE"><FONT size=3D1 =
DEFAULT=3D"SIZE"=20
  POINTSIZE=3D"8"><BR><FONT face=3DArial><FONT size=3D2 =
POINTSIZE=3D"10">How would go=20
  about doing this in one easy step so that I didn't have to vi 300 =
times.=20
  ?<FONT face=3D"MS Shell Dlg" DEFAULT=3D"FACE"><FONT size=3D1 =
DEFAULT=3D"SIZE"=20
  POINTSIZE=3D"8"><BR><FONT face=3DArial><FONT size=3D2 =
POINTSIZE=3D"10">Thanks, any=20
  guidance would be greatly appreciated.<FONT face=3D"MS Shell Dlg"=20
  DEFAULT=3D"FACE"><FONT size=3D1 DEFAULT=3D"SIZE" =
POINTSIZE=3D"8"><BR><BR><BR><BR><FONT=20
  size=3D2 POINTSIZE=3D"10">Regards<FONT size=3D1 DEFAULT=3D"SIZE" =
POINTSIZE=3D"8">=20
  <BR><BR><FONT size=3D2 POINTSIZE=3D"10">David Wilson<FONT size=3D1 =
DEFAULT=3D"SIZE"=20
  POINTSIZE=3D"8"> <BR><BR><FONT size=3D2 POINTSIZE=3D"10">Technical =
Support=20
  Centre<FONT size=3D1 DEFAULT=3D"SIZE" POINTSIZE=3D"8"> <BR><BR><FONT =
size=3D2=20
  POINTSIZE=3D"10">The S.A Internet<FONT size=3D1 DEFAULT=3D"SIZE" =
POINTSIZE=3D"8">=20
  <BR><BR><FONT size=3D2 POINTSIZE=3D"10">0860 100 869<FONT size=3D1 =
DEFAULT=3D"SIZE"=20
  POINTSIZE=3D"8"> <BR><BR><FONT size=3D2 =
POINTSIZE=3D"10">http://www.sai.co.za<FONT=20
  size=3D1 DEFAULT=3D"SIZE"=20
POINTSIZE=3D"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></F=
ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></BOD=
Y></HTML>

------_=_NextPart_001_01C0CC18.787512D6--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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