OpenRDAP é uma implementação de cliente RDAP de linha de comando em Go.

https://www.openrdap.org - página inicial
https://www.openrdap.org/demo - demonstração ao vivo
Funcionalidades
- Cliente RDAP de linha de comando
- Formatos de saída: texto, JSON, estilo WHOIS
- Tipos de consulta suportados:
- ip
- domain
- autnum
- nameserver
- entity
- help
- url
- domain-search
- domain-search-by-nameserver
- domain-search-by-nameserver-ip
- nameserver-search
- nameserver-search-by-ip
- entity-search
- entity-search-by-handle
- Detecção automática de servidor para ip/domain/autnum/entities
- Suporte a tags de objeto
- Bootstrap cache (opcional, usa $XDG_CACHE_HOME/openrdap por padrão, com fallback para ~/.cache/openrdap)
- Autenticação de cliente X.509
Instalação
Este programa utiliza Go. O compilador Go está disponível em https://golang.org/.
Para instalar:
go install github.com/openrdap/rdap/cmd/rdap@master
Isto instalará o binário "rdap" no diretório $GOPATH/go/bin. Tente executar:
~/go/bin/rdap google.com
Uso
| Tipo de consulta | Uso |
|---|
| Domínio (.com) | rdap -v example.com |
| Endereço IPv4 | rdap -v 192.0.2.0 |
| Endereço IPv6 | rdap -v 2001:db8:: |
| Sistema Autônomo (ASN) | rdap -v AS15169 |
| Entidade (com tag de objeto) | rdap -v OPS4-RIPE |
| Tipo de consulta | Uso |
|---|
| Nameserver | rdap -v -t nameserver -s https://rdap.verisign.com/com/v1 ns1.google.com |
| Ajuda | rdap -v -t help -s https://rdap.verisign.com/com/v1 |
| Pesquisa de domínio | rdap -v -t domain-search -s $SERVER_URL example*.gtld |
| Pesquisa de domínio (por NS) | rdap -v -t domain-search-by-nameserver -s $SERVER_URL ns1.example.gtld |
| Pesquisa de domínio (por IP do NS) | rdap -v -t domain-search-by-nameserver-ip -s $SERVER_URL 192.0.2.0 |
| Pesquisa de nameserver | rdap -v -t nameserver-search -s $SERVER_URL ns1.example.gtld |
| Pesquisa de nameserver (por IP) | rdap -v -t nameserver-search-by-ip -s $SERVER_URL 192.0.2.0 |
| Pesquisa de entidade | rdap -v -t entity-search -s $SERVER_URL ENTITY-TAG |
| Pesquisa de entidade (por handle) | rdap -v -t entity-search-by-handle -s $SERVER_URL ENTITY-TAG |
Veja https://www.openrdap.org/docs.
Exemplo de saída
Clique nos exemplos para ver a saída:
rdap example.com
```Domain:
Domain Name: EXAMPLE.COM
Handle: 2336799_DOMAIN_COM-VRSN
Status: client delete prohibited
Status: client transfer prohibited
Status: client update prohibited
Conformance: rdap_level_0
Conformance: icann_rdap_technical_implementation_guide_0
Conformance: icann_rdap_response_profile_0
Notice:
Title: Terms of Use
Description: Service subject to Terms of Use.
Link: https://www.verisign.com/domain-names/registration-data-access-protocol/terms-service/index.xhtml
Notice:
Title: Status Codes
Description: For more information on domain status codes, please visit https://icann.org/epp
Link: https://icann.org/epp
Notice:
Title: RDDS Inaccuracy Complaint Form
Description: URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf
Link: https://icann.org/wicf
Link: https://rdap.verisign.com/com/v1/domain/EXAMPLE.COM
Event:
Action: registration
Date: 1995-08-14T04:00:00Z
Event:
Action: expiration
Date: 2023-08-13T04:00:00Z
Event:
Action: last changed
Date: 2023-05-12T15:13:35Z
Event:
Action: last update of RDAP database
Date: 2023-05-16T20:36:06Z
Secure DNS:
Delegation Signed: true
DSData:
Key Tag: 370
Algorithm: 13
Digest: BE74359954660069D5C63D200C39F5603827D7DD02B56F120EE9F3A86764247C
DigestType: 2
Entity:
Handle: 376
Public ID:
Type: IANA Registrar ID
Identifier: 376
Role: registrar
vCard version: 4.0
vCard fn: RESERVED-Internet Assigned Numbers Authority
Entity:
Role: abuse
vCard version: 4.0
Nameserver:
Nameserver: A.IANA-SERVERS.NET
Nameserver:
Nameserver: B.IANA-SERVERS.NET
```
```