Page 1 of 2

Whois service for .bit

Posted: Thu Aug 31, 2017 9:26 am
by virus_net
We didn`t find WHOIS service for .bit, so we create it.
Meet whois.bitname.ru :)

Example:

Code: Select all

# whois -h whois.bitname.ru nf.bit
OR

Code: Select all

# whois -h whois.bitname.ru nf
% This is the Namecoin blockchain query service version 0.0.1

% Information related to nf.bit

domain: nf.bit
name: d/nf
status: registered
expires in: 32678 blocks
txid: 4c055dfc908af606c5616e2b5aaa1fadadf72d35982044ed4ec625324a009879
address: NFMnokoEayFN9iRJqMEttXTCL5Sxswprds
height: 355024

% This query was served in 0.007 sec
Any comments or/and suggestions are welcome.

P.S. I know that I already posted this info before, but I thought that separate topic will be better.

Re: Whois service for .bit

Posted: Sat Sep 02, 2017 5:06 am
by virus_net
Forgot to say before. Need to change whois info at wiki page:
https://wiki.namecoin.org/index.php?tit ... tion#Whois
Whois
A public Namecoin WHOIS server is available:

$ whois -h whois.namecoin.us example.bit

Code: Select all

# whois namecoin.us
...skiped...
Name Server:                                 BOB.NS.CLOUDFLARE.COM
Name Server:                                 KARINA.NS.CLOUDFLARE.COM
...skiped...

Code: Select all

# nslookup whois.namecoin.us BOB.NS.CLOUDFLARE.COM
Server:         BOB.NS.CLOUDFLARE.COM
Address:        173.245.59.104#53

*** [b]Can't find whois.namecoin.us[/b]: No answer
# nslookup whois.namecoin.us KARINA.NS.CLOUDFLARE.COM
Server:         KARINA.NS.CLOUDFLARE.COM
Address:        173.245.58.178#53

*** [b]Can't find whois.namecoin.us[/b]: No answer
Ok, maybe domain name changed ? Let`s try namecoin.org:

Code: Select all

# nslookup whois.namecoin.org
Server:         91.217.137.1
Address:        91.217.137.1#53

Non-authoritative answer:
whois.namecoin.org      canonical name = namecoin.org.
Name:   namecoin.org
Address: 94.23.252.190
Name resolved - good, but:

Code: Select all

# whois -h whois.namecoin.org nf.bit
whois: connect(): Connection refused
Does anyone know who manage whois.namecoin.org ?
I think that whois service, which is announced in documentation, need to be fixed. It`s not good for new useres (who read doc`s) that it is not working.

Re: Whois service for .bit

Posted: Sat Sep 02, 2017 5:47 am
by biolizard89
Hmm, this looks pretty cool, thanks for your work on this. Is the implementation open-source? If so, we might link to it from the namecoin.org website.

Please disregard the inaccurate info on the wiki. We're aware that the wiki has a lot of junk content on it, and I'm planning to nuke the wiki as soon as the small amount of good content on the wiki has been transferred to the main namecoin.org website. (It seems that allowing unmoderated edits tends to attract low-quality content, especially in a cryptocurrency context.) Sorry for the confusion....

Re: Whois service for .bit

Posted: Sat Sep 02, 2017 5:59 am
by virus_net
biolizard89 wrote: Is the implementation open-source?
There is small php script that uses curl who made request to RPC to get data from blockchain. If script needed and you want, so we can post script on github. No problem with this. Post ?
biolizard89 wrote:thanks for your work on this
You welcome. Thanks for your work too.
biolizard89 wrote:that the wiki has a lot of junk content on it
Yes, it is. There many old and not usable content there.

Re: Whois service for .bit

Posted: Sat Sep 02, 2017 6:13 am
by biolizard89
virus_net wrote:
biolizard89 wrote: Is the implementation open-source?
There is small php script that uses curl who made request to RPC to get data from blockchain. If script needed and you want, so we can post script on github. No problem with this. Post ?
Sure, sounds good. :)

Re: Whois service for .bit

Posted: Sat Sep 02, 2017 6:27 am
by virus_net
Done => https://github.com/subnetsRU/namecoin/tree/master/whois
---
UPDATE on 03.09.2017
I commit new version of whois service php script.

Re: Whois service for .bit

Posted: Tue Sep 05, 2017 3:31 pm
by virus_net
biolizard89: Is it OK or need something more ?

Re: Whois service for .bit

Posted: Fri Sep 08, 2017 10:53 am
by biolizard89
virus_net wrote:Done => https://github.com/subnetsRU/namecoin/tree/master/whois
---
UPDATE on 03.09.2017
I commit new version of whois service php script.
Cool, thanks. Any chance you could add license information so that people know what terms they can use it under?

Re: Whois service for .bit

Posted: Sat Sep 09, 2017 3:36 am
by virus_net
You are welcome.
Ofc I can. Will be done on next commit for ns4chain project (that now is laying in the namecoin folder too), it is coming soon.

---
10:25 update: Commit done.

Re: Whois service for .bit

Posted: Mon Sep 11, 2017 12:03 pm
by virus_net
biolizard89: Is it OK now ? Need something else?