Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: khal on July 10, 2012, 08:52:00 PM



Title: [ANN] Namecoin DNS server (and more) with NMControl
Post by: khal on July 10, 2012, 08:52:00 PM
Here is the first release of NMControl 0.4 !

Description

nmcontrol is a python software that will provide services on top of namecoin like DNS, proxy, name (domain, alias, etc) registration and renewal.
It is composed of a daemon (nmcontrol) that communicates with namecoin and provide services, and a GUI (nmcontrol-gui) that manages the daemon.

It will allow you to :
- create domains, alias and auto renew them
- listen for dns requests
- listen for socks requests
- publish your services (in a namecoin record/namespace, services could announce themselves in the blockchain)
- etc

It is multi-threaded and designed with plugins, to enable each person to activate only what they need and what they want to share (for example, you will be able to share your DNS server with other people if you want).
Aim of this software is to allow people to easily build things/services on top of namecoin.

Current version supports :
- a flexible plugin system
- an rpc client/server to manage commands
- communication with namecoin

TODO :
- a GUI [edit: to manage domains, alias, dns server, etc, but not your coins. Coins can be managed with a bitcoin GUI using RPC]
- make required modifications for it to work on windows and mac
- advanced services like DNS and proxies
- automatic configuration of the OS
- provide binaries and install software

Links :
- sources (https://github.com/khalahan/nmcontrol/)
- archives (https://github.com/khalahan/nmcontrol/tags)
- README (https://github.com/khalahan/nmcontrol/blob/master/README.md)
- INSTALL (https://github.com/khalahan/nmcontrol/blob/master/doc/INSTALL.md)
- TODO (https://github.com/khalahan/nmcontrol/blob/master/doc/TODO.md)

Now that the base structure is done, I can focus on advanced services :)
Which one would you want first :
- windows support ?
- dns server
- name auto-renew ?
- gui ?
- other ?


Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: Greedi on July 10, 2012, 08:54:08 PM
windows support + gui


Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: smoothie on July 10, 2012, 09:14:33 PM
windows support + gui

+1 the last nmc client was all command based....not exactly user friendly.


Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: markm on July 10, 2012, 10:17:01 PM
If as it sounds it does not actually do anything yet, having a GUI for it seems premature; might as well first have it able to actually do at least one thing, so that a GUI will actually have something it can tell it to do.

DNS sounds good, then the GUI which, to have something to do (since there would be no point running the daemon if you didn't want to be able to look up .bit domains on the local machine), maybe make a GUI that will let you toggle whether to let other machines use that DNS, or even let you configure exactly which machines to permit to use it or something like that.

Maybe I misunderstood, but I got a definite impression the thing doesn't actually do anything yet but is just a framework ready to have something to actually do added, so to me it seemed hilarious how windows folks immediately jumped to the idea that most important thing to have would be a GUI that doesn't actually do anything. :)

("I know it doesn't actually *do* anything but the point is, it should not do things graphically instead of not doing things textually dammit!" :))

-MarkM-


Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: smoothie on July 10, 2012, 10:41:57 PM
If as it sounds it does not actually do anything yet, having a GUI for it seems premature; might as well first have it able to actually do at least one thing, so that a GUI will actually have something it can tell it to do.

DNS sounds good, then the GUI which, to have something to do (since there would be no point runnign the daemon if you didn't want to be able to look up .bit domains on the local machine), maybe make a GUI that will let you toggle whether to let other machines use that DNS, or even let you configure exactly which machines to permit to use it or something like that.

Maybe I misunderstood, but I got a definite impression the thing doesn't actually do anything yet but is just a framework ready to have something to actually do added, so to me it seemed hiliarious how windows folks immediately jumped to the idea that most important thing to have would be a GUI that doesn't actually do anything. :)

("I know it doesn't actually *do* anything but the point is, it should not do things graphically instead of not doing things textually dammit!" :))

-MarkM-


When I say this I'm not talking about me: Not having a GUI limits its user base my like at least half on this forum. I'm sure most people dont want to be tinkering on the command line. Make it easy/simple!! ;D ;D


Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: khal on July 10, 2012, 10:48:34 PM
nmcontrol is designed to be simple, so building a gui that manage the daemon should be "simple" (rpc call + forms to fill required fields per namespace :p).
One thing i've added to my original post is that this GUI will not allow you to manage your coins, because a standard bitcoin GUI using RPC can already do that.

Also, pertinent remark from markm about the GUI :p

Windows support shouldn't be difficult too (because i've already coded with it in mind).

Other comments ?


Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: smoothie on July 10, 2012, 10:51:01 PM
nmcontrol is designed to be simple, so building a gui that manage the daemon should be "simple" (rpc call + forms to fill required fields per namespace :p).
One thing i've added to my original post is that this GUI will not allow you to manage your coins, because a standard bitcoin GUI using RPC can already do that.

Also, pertinent remark from markm about the GUI :p

Windows support shouldn't be difficult too (because i've already coded with it in mind).

Other comments ?

If it is simple then where is it?


Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: khal on July 11, 2012, 06:00:15 AM
Any help is appreciated, for example by :
- reporting if it is working ok or not (with which os/config)
- testing the current behavior on windows or mac
- giving ideas/feedbacks/comments
- python programmers are welcome to write some code :)


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: khal on July 12, 2012, 07:55:35 AM
NMControl 0.5 :

- now starts on windows
- better support of other os

To use it in Windows, you currently need to install python :
- 32 bit (http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi)
- 64 bit (http://www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msi)

* Then, to launch the application use :
Code:
cd nmcontrol
c:\Python\python.exe nmcontrol start

* Start namecoin.

* Open another terminal and :
Code:
cd nmcontrol
c:\Python\python.exe nmcontrol data getValue id/khal

* If the daemon cannot contact namecoind :
- configure the path of your namecoin.conf file in 'conf/plugin-data.conf', example :
Code:
update.namecoin=C:\Users\xxx\Application Data\Namecoin\namecoin.conf
- restart nmcontrol (stop first terminal and relaunch it)


Does it work for you ?

Next step : adding the DNS server.


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: smoothie on July 12, 2012, 07:56:51 AM
So how many domain name squatters do we have in existence for this system? Expecially at the current price of nmc domain names....



Title: Re: [ANN] NMControl - Manage namecoin services
Post by: markm on July 12, 2012, 09:17:05 AM
So how many domain name squatters do we have in existence for this system? Expecially at the current price of nmc domain names....

Probably few squatters but squatting many domains. :)

-MarkM-


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: smoothie on July 12, 2012, 09:19:26 AM
So how many domain name squatters do we have in existence for this system? Expecially at the current price of nmc domain names....

Probably few squatters but squatting many domains. :)

-MarkM-


Not very even playing field to new comers huh...



Title: Re: [ANN] NMControl 0.4 - Manage namecoin services
Post by: Bitcoin Oz on July 12, 2012, 09:22:23 AM
nmcontrol is designed to be simple, so building a gui that manage the daemon should be "simple" (rpc call + forms to fill required fields per namespace :p).
One thing i've added to my original post is that this GUI will not allow you to manage your coins, because a standard bitcoin GUI using RPC can already do that.

Also, pertinent remark from markm about the GUI :p

Windows support shouldn't be difficult too (because i've already coded with it in mind).

Other comments ?

If it is simple then where is it?
So they can reg all the possible domains and squat them of course.  ;)


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: khal on July 12, 2012, 09:39:56 AM
Namecoin has no central authority (it is its aim), so, of course there are squatters. Do they annoy you ?

Quote from: pent'
Fighting with squaters is like fighting with Bitcoin speculants. You think they do evil, I think they bring popularity to system. Bitcoin possibly never rised without speculants. And so may be true for NMC and squaters.

Let the squaters to be, let the NMC to circulate. They will rise the circuation volume. Circuation is life.

You can also participate in those topics if you have some constructive ideas about a "right" name price :
- Registering is too cheap (http://dot-bit.org/forum/viewtopic.php?f=2&t=360)
- Increasing the size of the value field (http://dot-bit.org/forum/viewtopic.php?f=2&t=503)


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: smoothie on July 12, 2012, 09:44:49 AM
Namecoin has no central authority (it is its aim), so, of course there are squatters. Do they annoy you ?

Quote from: pent'
Fighting with squaters is like fighting with Bitcoin speculants. You think they do evil, I think they bring popularity to system. Bitcoin possibly never rised without speculants. And so may be true for NMC and squaters.

Let the squaters to be, let the NMC to circulate. They will rise the circuation volume. Circuation is life.

You can also participate in those topics if you have some constructive ideas about a "right" name price :
- Registering is too cheap (http://dot-bit.org/forum/viewtopic.php?f=2&t=360)
- Increasing the size of the value field (http://dot-bit.org/forum/viewtopic.php?f=2&t=503)


I think it's a bit too late for people to register anything with any remote value in terms of domain names at this point. They have had over a year to squat all the good names.

Plus undoing the registered names or trying to find a fair price and method for others to join will not work because you will piss off the early adopters if you take their "cookie" away...

Seems messed up. Perhaps a restart?


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: khal on July 12, 2012, 11:27:45 AM
I think it's a bit too late for people to register anything with any remote value in terms of domain names at this point. They have had over a year to squat all the good names.
Are you interested in names only for their value ?
If people still register .com, .net, etc, you can guess there are still a huge number of interesting names in namecoin (less than 65K domains are registered).

Plus undoing the registered names or trying to find a fair price and method for others to join will not work because you will piss off the early adopters if you take their "cookie" away...
So, only squatting has some interest for you ?
People knew that name price will decrease (50NMC at the beginning, 0.01NMC at the end). If we adjust the price (due to merged mining), people won't suffer from it.
And, it's not about "trying to find a fair price and method for others to join", but setting a fair price :
- to be not too expensive (no need to empty your wallet),
- to be not too cheap and (there is no need to be able to register 100000 domains with 1 cent),
- not to need to change it again in 3 months (price may be adjusted like bitcoin fees have been adjusted).

Seems messed up. Perhaps a restart?
And squatters will fight again for most "valuable" names ? What problem would it solve ?


Other than that, did you try the above software ?
Do you find some interest in namecoin or only in the website selling domains in your signature ?


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: khal on July 13, 2012, 07:24:23 AM
A release with a DNS server and a first .bit support will arrive soon !
Thanks to the pymds library (DNS server) and the previous work done by sonicrules12324 (https://github.com/sonicrules1234/Namecoin-DNS-Server)


Title: Re: [ANN] NMControl - Manage namecoin services
Post by: khal on July 13, 2012, 09:36:09 AM
Release of NMControl 0.6

Changelog :
- Added DNS client : lib to resolve non .bit domains
- Added DNS server : lib to reply to dns queries, connected to the data plugin to resolve .bit domains
- Added DNS Service : to configure,start and stop the DNS server
- Fix : don't try to stop an already stopped plugin
- Improved start/stop log messages

Todo :
- It has only a first support of .bit (spec v1) that needs to be improved/tested/commented :)
- No IPv6 yet.

To update from sources (git) :
Code:
cd nmcontrol
git pull

To update from archive :
https://github.com/khalahan/nmcontrol/tags

The DNS server is auto-started. If you don't want it, edit the 'plugin-dns.conf' file and put :
Code:
start=0
You can also configure host on which it will listen to share it on all your network (default is 127.0.0.1), port (53) and DNS servers that will be used to resolve non .bit domains and .bit domains configured with 'ns' records (defaults are 8.8.8.8 and 8.8.4.4).
Note : to listen on port 53, you will need root privileges under linux (at least), so you will need to launch it as root or with sudo.

Once nmcontrol is launched, change your DNS server to first use 127.0.0.1.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: khal on July 16, 2012, 05:57:04 PM
Release of NMControl 0.7

Features :
- DNS server
- .bit support (spec v1)

Changelog :
* Improved thread support (CTRL+C should now work everytime)
- Program now stops immediately after a stop command or a CTRL+C
- No more infinite loop in main program :p

* Improved DNS server management
- DNS server can now restart properly
- Name resolution from .bit to IP has been moved to a dedicated plugin (pluginNamespaceDomain)

* Add filter to load less data from namecoin
- Only domain names from the 'd/' namespace are loaded if the dns server is started.
- Other namespaces will be loaded if a plugin require it.

* Add IPv6 support in DNS replies
- Replies from DNS requests now support IPv6 addresses

* Fixed some bugs & added debug infos

Download :
Source : https://github.com/khalahan/nmcontrol
Archives : https://github.com/khalahan/nmcontrol/tags


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: khal on July 26, 2012, 08:31:05 PM
Release of NMControl 0.8

New Features :
- Added "services" (see below)
- Improved .bit support

Changelog :
* Improved .bit support for "ns" records
* Split plugins between plugins and services
* New service "DNS"
* plugin NamespaceDomain has been modified to use the DNS service
Plugins can now depend on a service that will be autostarted if needed.
For each service used in a plugin, it can filter which requests to catch.
For example, the plugin NamespaceDomain will use the DNS service to catch only requests for .bit domains and leave other DNS requests to the DNS service itself.
This will allow other plugins to catch only what there are interested in.

Download :
Source : https://github.com/khalahan/nmcontrol
Archives : https://github.com/khalahan/nmcontrol/tags


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: smoothie on July 26, 2012, 08:34:39 PM
I still see no community interest in a block chain that is :

1. Merge mined
2. Has 5, maybe 10, squatters of all popular/usable domain names
3. Just lack of participation from the community. The forum looks dead as trash.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: khal on July 26, 2012, 08:54:56 PM
Thank you for your support.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: smoothie on July 26, 2012, 08:59:38 PM
Thank you for your support.

I don't support the project. I consider it dead or on life support.



Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: khal on July 26, 2012, 09:44:20 PM
Thank you for your support.

I don't support the project. I consider it dead or on life support.
I know, and maybe that's why you criticize it (yes, I'm naive, some other people would say you missed the early adopter period and can't do speculation now with merged mining).
But it is not dead and slowly acquiring new features.

We lack a lot of things to become more popular :
- guys who know how to make buzz, communication (I'm far from good at this, any volunteer ?)
- a software ready for end users (GUI, installer, etc)
- speaking about the project where is it useful (no, domain names are not the only goal)

It's not because there is not as much people as in bitcoin that the project is dead.
If everybody think like that, people wouldn't start new things, take part in the project and would be discouraged by people like you.

What will arrive next is :
- a support for tor domains
- an integrated web search engine for namespaces
- NamecoinBundle with namecoin+nmcontrol

So, people, come and test Namecoin !


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: Luceo on July 26, 2012, 10:18:32 PM
Quite possibly if your only interest in decentralized DNS is as a speculative thing to see if you can make a buck on a name you don't even want, the project is 'dead'.

For the rest of us, who support Namecoin because it takes control of our Internet services in the same way that Bitcoin takes control of our money, it's alive and well.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: Raoul Duke on July 26, 2012, 10:34:54 PM
Quite possibly if your only interest in decentralized DNS is as a speculative thing to see if you can make a buck on a name you don't even want, the project is 'dead'.

For the rest of us, who support Namecoin because it takes control of our Internet services in the same way that Bitcoin takes control of our money, it's alive and well.

Well said. Smoothie is just one of those guys from the get-rich-quick-gang. Don't mind him.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: DiCE1904 on July 27, 2012, 04:12:53 AM
lol smoothie is such a little girl. Great work on this project im going to try it out


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: smoothie on July 27, 2012, 05:11:45 AM
Quite possibly if your only interest in decentralized DNS is as a speculative thing to see if you can make a buck on a name you don't even want, the project is 'dead'.

For the rest of us, who support Namecoin because it takes control of our Internet services in the same way that Bitcoin takes control of our money, it's alive and well.

Well said. Smoothie is just one of those guys from the get-rich-quick-gang. Don't mind him.

Yes I am. And I admit it. But can you admit to being part of the SoiledCoin/ShortBusCoin crowd? lol  ::) ::) ::)


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: smoothie on July 27, 2012, 05:13:03 AM
lol smoothie is such a little girl. Great work on this project im going to try it out

Hey Mr. 15 (soon to be 16) post JR MEMBER!

If i'm a little girl, then you must be a FAT BASTARD lol  ::) ::) ::)


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: smoothie on July 27, 2012, 05:18:29 AM
Thank you for your support.

I don't support the project. I consider it dead or on life support.
I know, and maybe that's why you criticize it (yes, I'm naive, some other people would say you missed the early adopter period and can't do speculation now with merged mining).
But it is not dead and slowly acquiring new features.

We lack a lot of things to become more popular :
- guys who know how to make buzz, communication (I'm far from good at this, any volunteer ?)
- a software ready for end users (GUI, installer, etc)
- speaking about the project where is it useful (no, domain names are not the only goal)

It's not because there is not as much people as in bitcoin that the project is dead.
If everybody think like that, people wouldn't start new things, take part in the project and would be discouraged by people like you.

What will arrive next is :
- a support for tor domains
- an integrated web search engine for namespaces
- NamecoinBundle with namecoin+nmcontrol

So, people, come and test Namecoin !

Khal it isn't criticism if it is truth. One who takes truth as criticism is blinded by their own victim-mentality.

Anyone who is trying to setup a domain name (of any usefulness) will likely fail unless they pay the "early adopters" handsomely for them to move their fat ass from squatting and taking a huge dump on the good domain names. Most of the good ones were taken well over a year ago (I know I looked). Now it costs less than nothing for domain squatters to keep them indefinitely for pennies on the renewal.

So much for DECENTRALIZATION when all the domains are centralized between a few people. Good fucking job.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: khal on July 27, 2012, 11:29:16 AM
lol smoothie is such a little girl. Great work on this project im going to try it out
Thanks. Feedbacks are welcome.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: Luceo on July 27, 2012, 12:48:31 PM
Smoothie, what counts as a good domain name?

A username?
[luceo@zorua ~]$ namecoind name_show d/smoothie
error: {"code":-4,"message":"failed to read from name DB"}

Oh right, not taken...

How about something closer to home?
[luceo@zorua ~]$ namecoind name_show d/getrich
error: {"code":-4,"message":"failed to read from name DB"}
[luceo@zorua ~]$ namecoind name_show d/altcoins
error: {"code":-4,"message":"failed to read from name DB"}
[luceo@zorua ~]$ namecoind name_show d/speculate
error: {"code":-4,"message":"failed to read from name DB"}

Those aren't taken either...

Common *coin terms?
[luceo@zorua ~]$ namecoind name_show d/confirmation
error: {"code":-4,"message":"failed to read from name DB"}
[luceo@zorua ~]$ namecoind name_show d/genesisblock
error: {"code":-4,"message":"failed to read from name DB"}
[luceo@zorua ~]$ namecoind name_show d/51percent
error: {"code":-4,"message":"failed to read from name DB"}
[luceo@zorua ~]$ namecoind name_show d/doublespend
error: {"code":-4,"message":"failed to read from name DB"}

And still some there too... bet most of the above .coms are taken.

And if you want to use .bit as a DNS service for a business, you've got a lot of options open to you, since your business name is unlikely to be a common term. The only people who would end up handing over fees are those who run existing Bitcoin businesses and failed to adopt Namecoin early.

In exactly the same way that early adopters are rewarded in Litecoin and Bitcoin, they are rewarded in Namecoin. Abundance cannot exist forever. Would you rather have centralization or domain squatters?


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: khal on June 16, 2013, 08:09:29 PM
Some updates for NMControl :

- added a http service
- added a http plugin to make a future GUI, available at http://127.0.0.2/ (a simple page for now)
* allow any number of sub plugins : first one is GuiHttpConfig, a simple page at http://127.0.0.2/config to be able configure NMControl from a web browser.

Sources :
https://github.com/khalahan/nmcontrol/commits/master


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: justusranvier on April 26, 2014, 05:20:13 AM
Suppose I want to be able to resolve .bit domains, without using any external service.

Installing namecoind and NMControl together will accomplish this, right?


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: phelix on April 27, 2014, 10:54:06 AM
Suppose I want to be able to resolve .bit domains, without using any external service.

Installing namecoind and NMControl together will accomplish this, right?
Correct. You can also use the FreeSpeechMe Firefox plugin to also get Namecoin TLS and Tor/.onion clear name support.



Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: Norcoin_ on August 12, 2014, 05:29:55 AM
For what it's worth, I think namecoin is the only altcoin worth owning. You where just a bit early with it, people are not ready yet.


Title: Re: [ANN] Namecoin DNS server (and more) with NMControl
Post by: ailuo on August 12, 2014, 05:40:09 AM
Keep wathching this thread.Will follow namecoin pace