Introduction
We host a WHOIS server which could be accessed within DN42.
- fd42:4242:2189:e8::1
- 172.23.91.117
- whois.iedon.dn42
Usage
whois -h whois.iedon.dn42 [YOUR QUERY]
macOS note
On some macOS versions, the system whois client at /usr/bin/whois can
segfault when -h is given a numeric host such as 127.0.0.1 or 10.0.0.1.
This happens in the client before it sends the query, so it is not caused by WHOIS server itself.
Always use a hostname instead, for example whois.iedon.dn42, localhost or a DNS name for the server.
If you must query by address on macOS, use another client such as nc or a
Homebrew-installed whois.
Supported Queries
Direct lookups
whois -h <server> HAX404-MNT # mntner
whois -h <server> HAX404-DN42 # person
whois -h <server> AS4242420429 # aut-num
whois -h <server> hax404.dn42 # dns
whois -h <server> 172.23.136.0/23 # inetnum / route
whois -h <server> 172.23.136.1 # inetnum / route (by IP)
whois -h <server> fd58:eb75:347d::/48 # inet6num / route6
whois -h <server> PERSON-SCHEMA # schema
whois -h <server> ORG-C3D2 # organisation
whois -h <server> SET-1-DN42-TINC # tinc-keyset
whois -h <server> AS-FREIFUNK # as-set
whois -h <server> 4242420000_4242423999 # as-block
whois -h <server> RS-DN42-NATIVE # route-set
whois -h <server> +04243914 # telephony
Inverse lookups (-i)
Find objects by attribute value (e.g., all routes announced by an AS):
whois -h <server> -- '-i origin AS4242420000'
whois -h <server> -- '-i origin AS4242420000 -T route,route6'
whois -h <server> -- '-i mnt-by EXAMPLE-MNT -T aut-num'
whois -h <server> -- '-i mnt-by EXAMPLE-MNT -T telephony'
whois -h <server> -- '-i admin-c EXAMPLE-DN42'
Any RPSL attribute present in the registry can be used with -i.
Server info queries (-q)
whois -h <server> -- '-q version'
whois -h <server> -- '-q sources'
whois -h <server> -- '-q types'
Type filtering (-T)
whois -h <server> -- '-T aut-num,person MIC92-DN42 AS4242420092'