jschauma,
@jschauma@mstdn.social avatar

I've previously[1] talked about how stupid is, and while is an improvement, it's still really just a bunch of information bits based on (regional) convention.

A human can usually quickly identify e.g., the owning legal entity from inspection of of the data, but good luck doing that programmatically. It's infuriating.

[1] https://www.netmeister.org/blog/whois.html

bortzmeyer,
@bortzmeyer@mastodon.gougere.fr avatar

@jschauma Your criticism of RDAP is not clear to me. What could be sent by an information service but "bunch of information bits"? What is the regional convention you speak about?
And about the difficulty to do it programmatically, sure, jCard is painful, but just finding the entry with ""roles": [ "registrant" ] is not to hard for a program.

jschauma,
@jschauma@mstdn.social avatar

@bortzmeyer Different RIR's RDAP servers have different information (e.g., for 0.0.0.0, 1.0.0.0/8); the "registrant" role is sometimes present (1.0.0.0/24), sometimes missing (1.0.1.0/24); the vcard information for an entity sometimes points to an individual, sometimes a company, sometimes just an address, sometimes a net handle, etc.

bortzmeyer,
@bortzmeyer@mastodon.gougere.fr avatar

@jschauma I assume the differences are from the different models (APNIC has NIR underneath). Hardly RDAP's fault, just a reflection of the fact that not everyone has the same policies.

jschauma,
@jschauma@mstdn.social avatar

@bortzmeyer Yep. And different RIRs may have different requirements around what data is present in what format. So yes, my gripe is not with RDAP the protocol, but with the lack of a forced structure of the data the protocol makes available, I guess.

bortzmeyer,
@bortzmeyer@mastodon.gougere.fr avatar

@jschauma Just for fun, here is a script to extract the registrant (but, as you noticed, the biggest problem is in the lack of consistency of data):

.entities [] | select(.roles[] | select(. == "registrant")) | .vcardArray[1] | map(select(.[0] == "fn"))[0][3]

Use it like:

curl -s https://rdap.nic.fr/domain/egis.fr | jq -f rdap.jq

jpmens,
@jpmens@mastodon.social avatar

deleted_by_author

  • Loading...
  • bortzmeyer,
    @bortzmeyer@mastodon.gougere.fr avatar

    @jpmens @jschauma Indeed, DENIC is not talkative. My code should be more robust.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • Durango
  • cisconetworking
  • mdbf
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • osvaldo12
  • Youngstown
  • ethstaker
  • slotface
  • rosin
  • thenastyranch
  • megavids
  • normalnudes
  • modclub
  • khanakhh
  • everett
  • tacticalgear
  • cubers
  • GTA5RPClips
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • lostlight
  • All magazines