The assign_offsite script

This is installed in

  • ent:/local/ipregister/bin
  • jackdaw:~ipreg/bin

To add an off-site IPv4 address

assign_offsite -address=... -remarks=...

The remarks should typically identify the hosting provider, and the local name if there is going to be only one or there is a primary one. They are attached to the v4_address and v4_subnet objects.

This adds the address and its /32 subnet to the OFF-SITE mzone, and the address is assigned to the off-site.invalid vbox.

To add an off-site IPv4 address and a local name in one shot

assign_offsite -name=... -purpose=... -address=... -remarks=...

As well as the above, this also creates an aname pointing at the off-site address. The remarks are attached to the address and the purpose is attached to the aname.

To add an off-site CNAME

assign_offsite -name=... -purpose=... -target=... [-remarks=...]

This creates an aname for the target, and a CNAME pointing at it. The remarks are attached to the aname and the purpose is attached to the cname.