Tutorials: How to Modify Objects in the RADB via Email
To modify an object in the RADB, simply use a text editor or your email client
software to revise a copy
of the object, and email the revised object to auto-dbm@radb.net. The new
object will automatically replace the old one.
Here is an example of updating a mntner object:
- Use the whois tool to get a copy of the object exactly as it currently
exists in the registry. Put the object in a temporary file. In this
example, we will update a ficticious mntner object -- MAINT-AS64242.
whois -h whois.radb.net MAINT-AS64242 > temp
We will pretend this returns the following:
mntner: MAINT-AS64242
descr: Acme Pine Box Corp.
admin-c: Burt Ward
tech-c: Drew Henson
upd-to: techs@acmepinebox.com
mnt-nfy: techs@acmepinebox.com
auth: CRYPT-PW Cka349alkIIla
mnt-by: MAINT-AS64242
changed: burt@acmepinebox.com 20060331
source: RADB
- Edit the 'temp' file you've created, making the desired changes/additions
to the attributes. From the above example, the descr:, admin-c, and changed:
attributes will be modified. Note that the
changed: attribute should contain the email address of the individual
submitting the update and today's date encoded in YYYYMMDD format.
IMPORTANT: The new object
will completely replace the existing object, and thus it is imperative to
include all unmodified attributes along with the changed/added attributes.
If you are using password (CRYPT-PW) authentication, you must also include a
"password:" line at the beginning of the message with your password. This
line should be separate from the actual objects to be submitted. Only
one password line is required in the message.
password: Asekrit42
mntner: MAINT-AS64242
descr: Acme Pine Box & Furniture Corp.
admin-c: Fred Taylor
tech-c: Bob Young
upd-to: techs@acmepinebox.com
mnt-nfy: techs@acmepinebox.com
auth: CRYPT-PW Cka349alkIIla
mnt-by: MAINT-AS64242
changed: bob@acmepinebox.com 20060401
source: RADB
- Email the object to auto-dbm@radb.net. For example, on a Unix
system you could use the following:
mail auto-dbm@radb.net < temp
- After recieving a reply from auto-dbm stating that the submission succeeded,
check your changes:
> whois -h whois.radb.net MAINT-AS64252
mntner: MAINT-AS64242
descr: Acme Pine Box & Furniture Corp.
admin-c: Fred Taylor
tech-c: Bob Young
upd-to: techs@acmepinebox.com
mnt-nfy: techs@acmepinebox.com
auth: CRYPT-PW Cka349alkIIla
mnt-by: MAINT-AS64242
changed: bob@acmepinebox.com 20060401
source: RADB
For more information about submitting database records, see How to Register in the RADB.
|