Command-line clients
This server speaks classic IRR whois on TCP port 43 — both IRRd-style ! commands and RIPE-style - flags, in any mix. Anything that works against IRRd works here: bgpq4, pathvector, irrd-client, the stock whois tool, or plain netcat.
whois / netcat
whois -h irr.irrd3.net AS2914
-x exact, -l first-level less specific, -L all less specific, -m first-level more specific, -M all more specific.whois -h irr.irrd3.net -- '-M 1.1.1.0/24' whois -h irr.irrd3.net -- '-x 193.0.0.0/21'
-i finds objects by any attribute value; -K returns primary keys only; -T restricts object classes; -s limits sources.whois -h irr.irrd3.net -- '-i mnt-by AS-FOO-MNT' whois -h irr.irrd3.net -- '-T route -i origin AS13335' whois -h irr.irrd3.net -- '-K -s RADB 192.58.128.0/24'
!! first to keep the connection open between queries — RIPE-style lookups otherwise close after each response.printf '!!\nAS2914\n-M 1.1.1.0/24\n' | nc irr.irrd3.net 43
bgpq4
-A aggregate, -b BIRD/JunOS format, -4/-6 address family, -S source selection.bgpq4 -h irr.irrd3.net -S RIPE,RADB,ARIN -Ab4 AS13335:AS-CLOUDFLARE bgpq4 -h irr.irrd3.net -S RIPE -6Ab AS-AMS-IX-PEERS
-tj runs a !j query — per-source serial ranges, handy for checking freshness.bgpq4 -h irr.irrd3.net -tj
pathvector
irr-server: irr.irrd3.net
IRRD ! command reference
| !iAS-SET[,1] | members of an as-set (,1 = recursive expansion) |
| !a4AS-SET / !a6 | expand as-set to prefix list (v4/v6) |
| !gAS13335 / !6 | routes originated by an ASN (v4/v6) |
| !mclass,pk | exact object lookup — !maut-num,AS2914 |
| !r<prefix>[,o|l|L|M] | route objects covering prefix (o=origins, l/L=less, M=more specific) |
| !oMNT-NAME | objects with mnt-by = MNT-NAME |
| !sSRC,SRC | select sources for this connection |
| !j / !J | journal serial ranges / full JSON source status |
| !v | server version |
| !n<name> / !t<sec> | client identification / query timeout |
| !! | keepalive — hold the session open |
| !q | quit |
NRTM (near real-time mirroring)
-g replays serials 3 through N, then live-tails new changes until disconnect. Versions: always 3 (NRTMv3).whois -h irr.irrd3.net -- '-g RIPE:3:1-LAST'
whois -h irr.irrd3.net -- '-q sources'
Exports
Full-registry snapshots for bootstrap/mirror imports — gzipped RPSL dumps, regenerated daily. NRTM covers deltas; these cover the initial load (and disaster recovery).
source:-stamped, gzipped.curl -O https://irrd3.net/export/RIPE.db.gz curl -O https://irrd3.net/export/IRRD3.db.gz
curl https://irrd3.net/export/index.json
RPKI RTR (routers)
Validated ROA payloads + ASPAs over RTR (RFC 8210 v0/v1/v2) on TCP 3323 — serials bump on every 10-minute VRP refresh; connected clients get Serial Notify pushes.
rtrclient tcp rtr.irrd3.net 3323 # routinator: rtr-listen → add rtr.irrd3.net:3323 as an RTR source
# bird2
roa4 table r4 { };
roa6 table r6 { };
protocol rpki {
roa4 { table r4; };
roa6 { table r6; };
remote "rtr.irrd3.net" port 3323;
}
# junos
set routing-options validation group RPKI session rtr.irrd3.net
set routing-options validation group RPKI session rtr.irrd3.net port 3323PeeringDB cache
A drop-in PeeringDB API mirror lives at https://pdb.irrd3.net — swap your tool's base URL from https://www.peeringdb.com/api and everything works the same, minus their rate limits. Covers org fac net ix campus carrier carrierfac ixfac ixlan ixpfx netfac netixlan poc; resyncs on a schedule plus change probes, and GET/POST /sync forces one.
curl 'https://pdb.irrd3.net/api/net?asn=13335' curl 'https://pdb.irrd3.net/api/netixlan?asn=2914&depth=0' curl 'https://pdb.irrd3.net/api/fac?name=Equinix%20AM3'
curl https://pdb.irrd3.net/healthz curl https://pdb.irrd3.net/readyz curl https://pdb.irrd3.net/metrics
Notes: auth: hashes are always stripped from output. HTTP equivalents of every query live under /api; the /query page runs them through the same engine.