How do I run a WHOIS lookup with PHP or Python?

前端 未结 5 1881
鱼传尺愫
鱼传尺愫 2020-12-05 21:30

So anyways, I\'m working on a small PHP website/script, and as one of the features I\'d like to be able to run a WHOIS lookup on the current domain the PHP script is running

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-05 22:06

    Try the Function Which is available in github gist

    https://gist.github.com/AManojKiran/4b034659e85fa02308ad9bdcdd05629c

    For the full list of TLDs/Whois servers see http://www.iana.org/domains/root/db/ and http://www.whois365.com/en/listtld/

提交回复
热议问题