Updating SOA with nsupdate
Kevin Darcy
kcd at daimlerchrysler.com
Tue May 31 22:15:13 UTC 2005
Just do an "add" and make sure that the serial number of the new SOA is=20
"higher" than the old serial number (as per "Serial Number Arithmetic",=20
RFC 1982).
- Kevin
Florian Piekert wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Greetings,
>
>I just recently subscribed to this list, so I am not aware if this quest=
ion
>has been asked before. Google was unsuccessful or I used the wrong keywo=
rds.
>
>Anyway:
>
>I am updating my zones to my dns (bind 9.3something) by using nsupdate (=
my
>machine is connected by dsl and obtains dynamic ip addresses).
>
>I would like to update not only the host information (addresses, mx, etc=
.),
>but also the Serial of the zone itself, which is in the SOA record. Upda=
ting
>the zone just with the host infos increments the SOA's serial by one I
>noticed and after a few months you end up with quite a nice number for t=
he
>last two digits of the serial (like 2003040247). Since I don't get a new=
ip
>each day, I would like to keep track of the updates, when they occured. =
The
>question now is, what is the exact
>
>update del
>update add
>
>line for nsupdate to achieve this? I have the to be used serial in varia=
bles
>in the update bash script, so that information is available. What misses=
me
>is the correct nsupdate command line formulation.
>
>Perhaps somebody has had the same problem and might help me out.
>
>Cheers,
>
>Florian
>- --
>
>ATTENTION: the public key with id 0x5b8a533d has been revoked and no lon=
ger
>is valid! Please obtain my new public key from my website (see below)=
or
>querry http://pgp.mit.edu/ for my new public key with the id 0xB5336=
E91
>
>Florian Piekert floppy at floppy.=
org
>
>Reichenbergstra=DFe 7 Telephone+Fax: +49-700-00f=
loppy
>38114 Braunschweig/Germany +49-179- 3928=
582
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
>Note: this message was send by me *only* if the eMail message contain=
s a
>correct pgp signature corresponding to my address at floppy at floppy.org.=
Do
>you need my PGP public key? Check out http://www.floppy.org or send me=
an
>email with the subject "send pgp public key" to this address of mine. =
Thx!
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.1-nr1 (Windows XP)
>
>iD8DBQFCl548k0QVxbUzbpERAi9TAKCEx41AGSt+jEh0b4sxSmInupthugCfe7yO
>/W/mkvbncNDVMu76Lg0MdKk=3D
>=3DrvYY
>-----END PGP SIGNATURE-----
>
>
>
>
>
> =20
>
More information about the bind-users
mailing list