-
Notifications
You must be signed in to change notification settings - Fork 28
Validating RDAP with NicInfo
NicInfo does some internal validation of RDAP responses but attempts to be very lenient in how it interprets RDAP-based JSON. However, it can also more fully validate RDAP against the standard using the JSON Content Rules (JCR) ruleset outlined in draft-newton-rdap-jcr. This document discusses two forms of validation: one based on the lenient standard and a stricter validation.
NicInfo uses the --jcr
command line parameter to invoke JCR validation, which takes a parameter option of either "standard" or "strict". Validation messages are placed at the "all" level, therefore using the -V
parameter ( or --messages all
) is needed to see any issues causing validation errors.
Examples:
Gets information about NIC.br:
nicinfo -V --jcr standard nic.br
Finds your current public IP address and looks it up against the appropriate RIR:
nicinfo -V --jcr strict .