Updating SOA with nsupdate

Florian Piekert floppy at floppy.org
Fri May 27 22:25:00 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings,

I just recently subscribed to this list, so I am not aware if this question
has been asked before. Google was unsuccessful or I used the wrong keywords.

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. Updating
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 the
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 variables
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 longer
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 0xB5336E91

Florian Piekert                                           floppy at floppy.org

Reichenbergstraße 7                         Telephone+Fax: +49-700-00floppy
38114 Braunschweig/Germany                                 +49-179- 3928582
===========================================================================
Note:  this message was  send by me *only* if the  eMail message contains 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=
=rvYY
-----END PGP SIGNATURE-----



More information about the bind-users mailing list