HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pgCKIN

no profile record

Submissions

Show HN: Korbinsky – A Reverse DNS API

2 points·by pgCKIN·5 anni fa·2 comments

Show HN: An API returning hostnames for an IP

ko.ckin.it
1 points·by pgCKIN·5 anni fa·0 comments

comments

pgCKIN
·2 mesi fa·discuss
So it seems: "Today I no longer do computer security. I do other stuff, part of which running this blog :-)"
pgCKIN
·4 anni fa·discuss
For a moment I thought about a SNI issue but no, you are right:

Version: 2.0.7 OpenSSL 1.1.1n 15 Mar 2022

Connected to 50.112.136.166

Testing SSL server news.ycombinator.com on port 443 using SNI name news.ycombinator.com

  SSL/TLS Protocols:
SSLv2 disabled SSLv3 disabled TLSv1.0 enabled TLSv1.1 enabled TLSv1.2 enabled TLSv1.3 disabled
pgCKIN
·4 anni fa·discuss
Pro tip: position your cheese slice as per leaving some margin at the bottom of the toast and press that zone.
pgCKIN
·4 anni fa·discuss
This. Moreover, an exam for a course is, to some extent, an assessment on how the course was delivered. And an interview for a job has a much larger scope.
pgCKIN
·4 anni fa·discuss
Oral exams have an entire other bunch of issues. Just looking at the professor side, beside time, I imagine it would be very difficult for to grade with same meter an arrogant student, a dismissive one, a smelly one, an eloquent one, or even the first and the last one in the same session.
pgCKIN
·4 anni fa·discuss
I might miss the irony in your words but... Job interviews and eduction tests have different objectives, I hope.
pgCKIN
·4 anni fa·discuss
Totally agree. I might a bit partial to that, because I tend to underperform multiple choice tests for overthinking, but I've really the impression that open ended questions test knoledge much better and make it more difficult to cheat. Beside that, having almost nothing to do with cheating, another good thing in the French system is the continuous grading: labs were graded, projects were graded, small intermediate tests were graded, so you really do not study for just the exam (actually often you do not study at all for the exam). (beware: my experience is limited to a single grande école I attended).
pgCKIN
·4 anni fa·discuss
IIRC I've used the expect command more than once for similar use cases.
pgCKIN
·5 anni fa·discuss
Funnily enough, hambuger in french is "steak haché" (hashed steak).
pgCKIN
·5 anni fa·discuss
Thank you for asking! Your question is the demonstration that "A Reverse DNS API" is a very subpar tagline. As you correctly state, for "reverse DNS" usually we mean the PTR, which, not being a requirement for a working internet, is quite neglected. Few are sets, and those in large part are actually just an indication of which ISP or datacenter they belong. What we try to do with Korbinsky is to provide information about hostnames actually pointing to a given IP address or just hosted there.

Just to give an example: $ dig +short PTR 159.241.75.51.in-addr.arpa

ns3131293.ip-51-75-241.eu.

$ curl -H "apikey: l86WRM0NC2bBHMfEBQdkhXbDp2BoQw0O" http://ko.ckin.it/api/v1/ip/51.75.241.159

["petitbambou.com"]

I hope this clarify, and I hope, one day, to come up with a more explicative tagline.
pgCKIN
·5 anni fa·discuss
Building go on the target architecture defaults on a dependency on libpthreads for DNS resolutions. Passing either CGO_ENABLED=0 or -tags netgo fix this.

It's unclear to me how and when spawning a thread per resolution is preferrable to the netgo behavoir.