Take Brazilian AS details from NIC.br's WHOIS server (closes #174) #179

Merged
clawbot merged 1 commits from issue-174-nicbr-names into next 2026-10-27 03:59:12 +01:00
1 Commits
Author SHA1 Message Date
sneak 133d2ffc66 Take Brazilian AS details from NIC.br's WHOIS server (closes #174)
check / check (push) Waiting to run
LACNIC's answer for an AS that NIC.br registers is NIC.br's answer with
each accented letter replaced by U+FFFD, so a name such as AS52751's
cannot be recovered from it. When LACNIC's answer carries NIC.br's
copyright notice, the client now also asks whois.registro.br for the AS
and takes the fields from that answer, which is Latin-1 and decoded as
before. When that query fails, when the answer has no fields, or when
NIC.br says the client is over its query limit, LACNIC's fields are kept
and a warning is logged. After an over-limit answer the client skips
NIC.br for an hour. The tests use recorded answers for AS52751.

Model: opus-5-5
2026-10-27 02:44:50 +00:00