Whois service for .bit

https://www.namecoin.org/dot-bit/
virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Whois service for .bit

Post 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.
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Whois service for .bit

Post 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.
Last edited by virus_net on Sat Sep 02, 2017 6:07 am, edited 1 time in total.
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Whois service for .bit

Post 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....
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Whois service for .bit

Post 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.
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Whois service for .bit

Post 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. :)
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Whois service for .bit

Post 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.
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Whois service for .bit

Post by virus_net »

biolizard89: Is it OK or need something more ?
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Whois service for .bit

Post 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?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Whois service for .bit

Post 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.
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Whois service for .bit

Post by virus_net »

biolizard89: Is it OK now ? Need something else?
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

Post Reply