APNIC Test Whois Database
Contents
- News
- Getting started with the APNIC Test Whois Database
- Creating objects in the APNIC Test Whois Database
- Creating IP address objects in the APNIC Test Whois Database
- Querying the APNIC Test Whois Database
- Additional notes on use
APNIC now operates a test database where users may learn how to use the APNIC Whois Database software.
Please note that the test database is for training and learning only. The sample data in the test database is not a copy of the data in the APNIC Whois Database and changes to the test database will not be reflected in the APNIC Whois Database. The APNIC Test Whois Database is not an authoritative source of whois data and no value should be put on the data in the test database.
News
APNIC is now processing applications for both two-byte and four-byte AS numbers. You can preview these changes in the APNIC Test Whois Database.
Please note that syntax for two-byte numbers will remain unchanged.
Queries: Four-byte entries can be queried using the true 32-bit integer value OR using the following format: <high order 16-bit value in decimal> . <low order 16 bit value in decimal>For example, the true 32-bit integer value:
AS70143
can also be expressed as:
AS1.4607
Updates: Please note that four-byte updates can only be done using the double decimal format.
For further information please see:
- ASN resource guide
- Whois database attributes
- Policies for Autonomous System number management in the Asia Pacific region
Getting started with the APNIC Test Whois Database
Before you can register any resources in the APNIC Test Whois Database, you must first create your own person and maintainer objects.
1. Create a person object.
In the mnt-by attribute, you must specify:
Submit the person object to:MAINT-AP-TESTAPNIC-NULL
test-dbm@apnic.net
See Submitting objects to the APNIC Test Whois Database for more information on creating a person object for the test database.
2. Create a maintainer object.
Refer to your new test database person objects in the admin-c and tech-c attributes. In the referral-by attribute, you must specify:Submit the maintainer object to:MAINT-AP-TESTAPNIC-NULL
test-dbm@apnic.net
See Submitting objects to the APNIC Test Whois Database for more information on creating a maintainer object for the test database.
3. (Optional) Update the maintainer of your person object.
Follow normal APNIC Whois Database update email procedures to update your person object and then submit the object to test-dbm@apnic.net.
Creating objects in the APNIC Test Whois Database
Send all new and updated objects to:
You will receive an acknowledgement message in the same format as acknowledgement messages from the APNIC Whois Database. To troubleshoot any errors you receive, please see the documentation for the APNIC Whois Database.
Creating IP address objects in the APNIC Test Whois Database
To create inetnum or inet6num objects with a status of ALLOCATED PORTABLE or ASSIGNED PORTABLE, you must specify MAINT-AP-TESTAPNIC-NULL in the mnt-by attribute. If you attempt to use any other maintainer in this attribute, your submission will fail.
You may specify any maintainer you choose when creating inetnum or inet6num objects with a status of ALLOCATED NON-PORTABLE or ASSIGNED NON-PORTABLE.
Querying the APNIC Test Whois Database
To search for objects in the test database, use the following command syntax:
whois -h testwhois.apnic.net <lookup-key>
Example:
whois -h testwhois.apnic.net MAINT-AP-TESTAPNIC-NULL
The whois query options available in the APNIC Whois Database are also available in the APNIC Test Whois Database. For more information, see APNIC Whois Database query options.
Additional notes on use
Please note that APNIC may remove all or any data from the test database at any time.
If you have any questions about using the test database, please email helpdesk@apnic.net


