Create rwhoisd entries for a subnet

Download Template
Creates: -entries for network blocks in rwhoisd.auth_area -schema file -actual data for netblock

akonkol
July 25, 2012

slash notation

two letter country code






probably you

this is where you set the attributes for network objects

arbitrary version number

#auth_area entry:

type:master
name:%{network_address}%/%{cidr}%
data-dir: etc/net-%{network_address}%-%{cidr}%/data
schema-file: etc/net-%{network_address}%-%{cidr}%/schema
soa-file: etc/net-%{network_address}%-%{cidr}%/soa


#schema:
name:network
attributedef:etc/global_defs/%{atrribute_definition_file}%
dbdir:etc/net-%{network_address}%-%{cidr}%/data/network
Schema-Version: %{schema_version}%


#/usr/local/rwhoisd/etc/net-%{network_address}%-%{cidr}%/data/network/network.txt
ID: net-%{network_address}%-%{cidr}%
Auth-Area: %{network_address}%/%{cidr}%
Network-Name: net-%{network_address}%-%{cidr}%
IP-Network: %{network_address}%-%{cidr}%
Country: %{country_code}%
City: %{city}%
Org-Name:%{org_name}%
Tech-Contact:%{tech_contact}%
Created: %{created_on}%
Updated: %{updated_on}%
Updated-By: %{updated_by}%

You must be logged in to comment.