Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next
NMControl Windows Installer v0.8.1 
Author Message

Posts: 1623
Post NMControl Windows Installer v0.8.1
NMControl connects .bit domain lookups to the Namecoin client to allow for easy browsing of .bit domains.

The setup file will automatically install .bit support on Windows 8 and higher. Only .bit DNS requests will be handled by NMControl in the default configuration. Note the system tray icon.


Installation
The Namecoin client (core or v0.3.80) needs to run and have finished downloading the blockchain. Also you need to create a .conf file in "%appdata%/namecoin" like this:
Code:
# server=1 tells Namecoin Core GUI to accept JSON-RPC commands.
# By default, only RPC connections from localhost are allowed.
server=1

# You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=winston
rpcpassword=DO_NOT_USE_THIS_STRING_OR_YOU_WILL_GET_ROBBED._JUST_HAMMER_YOUR_KEYBOARD_FOR_GOOD

# namehistory=1 tells Namecoin Core to enable name history at the cost of a slightly larger database (optional)
#namehistory=1



Download
http://blockchained.com/stuff/NMControl ... etup_b.exe or https://namecoin.info/files/NMControl_v0.8.1_setup.exe (same file)
zip archive: http://blockchained.com/stuff/nmcontrolwin_0.8.1.zip

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


$ shasum -a256 NMControl_v0.8.1_setup_b.exe
949d8ccb0dea286a22f89bcea85534b27ff4df7fbaf7902689c320d6a54cf227 NMControl_v0.8.1_setup_b.exe

$ shasum -a256 nmcontrolwin_0.8.1.zip
db89c94fef377db342289f40b975296ce5da1f619b2f1e7fb70c1ecb530f86d5 nmcontrolwin_0.8.1.zip

id/phelix


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWq5aNAAoJEMv5QLdyEy4YXQQH/1RaTcSstOPy0Nw93x6vMptL
dHf4TYjgrK2yWbgLpDlbBxwGaJASMB8Ignv3mGJxLFE+SprRZOPcZFov+y7/dZ+0
aELoXfKJG7qmIInf5wOVZaEay9F2lChmIcLxzWuX5v9PHhAB2U0r/Lgd5I7AimQ3
8MImQSS7UxypaGQIWn+Ho3P5/N8+MdEpjeFFICZnKeubuvq0AzXCjYnRn1lkHqNJ
EywmY5M3+6cp+GnxB7PWf8W5ns6TzbgOyJ4heBAORvZxwb6JoLCePAWkYtHQjMRb
Ct4z1K5I5RsNwJrTPLZbqroP9j5yLJ7WOad3dikY9jv/bL4bKdjIXv4cwC6hlpM=
=6zIp
-----END PGP SIGNATURE-----

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Wed Sep 02, 2015 12:52 pm
Profile

Posts: 80
os: windows
Post Re: NMControl Windows Installer RC1
phelix wrote:
The installer will automatically install .bit support on Windows 8 and higher. Only .bit requests will be redirected to NMControl. The Namecoin client (v0.3.80 or core) needs to run and have the blockchain downloaded for .bit resolving to work. Note the system tray icon.

NMControl_v0.8_c_setup.exe (see signed sha256 below)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

$ shasum -a 256 NMControl_v0.8_c_setup.exe
4e67c19db83ef6959644024dc6ec15e8eb0d58f83680e80b9443bc8d633ee68f NMControl_v0.8_c_setup.exe

id/phelix


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJV5u+9AAoJEMv5QLdyEy4YcUoH/2zUHByhpH6yueTEgVr6aWRo
R4rIIiTl1YeZqQYF1r5chiWB0XoPEPJ/dMayRO8DczKa8ud2sSpWnN4HjPVkdh1o
+OI/7ST7lSZv3rN2Se8aor8KUMNd4JpIfdLCj6NXmKB8YSwf75KFagoPg9eWTRwd
CYLvcakiQaTtxyXXAusRUGn9pEhc7G63lFLC5huejSYzddxGF1ENCp195yS/KVQi
1niTxYADiuN0XG5y82wEAPSlu1aymDVmc51gZl5e8qwe7QlsHuZjDBn7iCatb5od
jSZk+A3x4YBTZntlohrlt1DIdUfWSMNKOnDBRYwM2E4wyjOANs64pKMWWQoJ+iE=
=J4XE
-----END PGP SIGNATURE-----


Thanks.
It installed without issues, but I submitted one issue here: https://github.com/namecoin/nmcontrol/issues/98

> The installer will automatically install .bit support on Windows 8 and higher. Only .bit requests will be redirected to NMControl.

I confused "automatically" to mean that I don't have to do anything else, but I redirected my DNS server to 127.0.0.1 (the other DNS server I pointed to my regular DNS server) and .bit resolution then worked.
But non-.bit stopped working.

My NIC DNS Setting: 127.0.0.1, 8.8.8.8
My NMControl Setting:
; Forward standard requests to
resolver=8.8.8.8,8.8.4.4

Any ideas?

Also, what does this setting do?

; Disable lookups for standard domains
disable_standard_lookups=1

I would assume it prevents the client from making regular DNS lookups, so this could be why.
But when I changed this to 0 and kept my host DNS setting just 127.0.0.1, normal DNS still didn't work which means forwarding seemed not to work.
So I set this to 0 and set my host to use 127.0.0.1 and 8.8.8.8 and in this case both .bit and non-.bit works.


Thu Sep 03, 2015 6:17 am
Profile

Posts: 1623
Post Re: NMControl Windows Installer RC1
Updated OP with a new version. Before the initial start failed in the new logging system if the NMControl directory did not exist - doh.

somename wrote:
> The installer will automatically install .bit support on Windows 8 and higher. Only .bit requests will be redirected to NMControl.

I confused "automatically" to mean that I don't have to do anything else,

Yeah, that is exactly what I mean. The installer should configure your system such that .bit requests go to NMControl (other requests will be processed as usual). Does it not work? What Windows version are you on?

Quote:
but I redirected my DNS server to 127.0.0.1 (the other DNS server I pointed to my regular DNS server) and .bit resolution then worked.
But non-.bit stopped working.

My NIC DNS Setting: 127.0.0.1, 8.8.8.8
My NMControl Setting:
; Forward standard requests to
resolver=8.8.8.8,8.8.4.4

Any ideas?

Manual configuration goes like this:

Point your primary system DNS to 127.0.0.1 (leave the secondary empty at least to test)
In %appdata%/Nmcontrol/conf/service-dns.conf:
set 'disable_standard_lookups' to 0
optional: set 'resolver' to your favorite DNS server if you don't like the Google default ones. (e.g. 192.168.1.1)
Restart NMControl

Quote:
Also, what does this setting do?

; Disable lookups for standard domains
disable_standard_lookups=1

I would assume it prevents the client from making regular DNS lookups, so this could be why.

That is correct. We have it activated by default so people don't accidentally use the Google DNS servers.

Quote:
But when I changed this to 0 and kept my host DNS setting just 127.0.0.1, normal DNS still didn't work which means forwarding seemed not to work.
So I set this to 0 and set my host to use 127.0.0.1 and 8.8.8.8 and in this case both .bit and non-.bit works.

You can test from the command line:
what your system does: 'nslookup nx.bit' or 'nslookup zombo.com' (will also tell you your default DNS)
what NMControl does: 'nslookup nx.bit 127.0.0.1' or 'nslookup zombo.com 127.0.0.1'

I hope this helps. Thanks for your bug reports and feedback. Let me know if there are more issues.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Thu Sep 03, 2015 9:24 am
Profile

Posts: 80
os: windows
Post Re: NMControl Windows Installer RC1
phelix wrote:
You can test from the command line:
what your system does: 'nslookup nx.bit' or 'nslookup zombo.com' (will also tell you your default DNS)
what NMControl does: 'nslookup nx.bit 127.0.0.1' or 'nslookup zombo.com 127.0.0.1'

I hope this helps. Thanks for your bug reports and feedback. Let me know if there are more issues.


I did test with `nslookup id.bit` and `ping id.bit`, but it didn't work as I expected.

I just tried again - it seems (I don't have time to verify) that it is also important to have Namecoin Core to start with DNS resolution first, otherwise - if you set your system DNS to 127.0.0.1 and then start Namecoin Core and NMControl, Namecoin won't be able to work and consequently NMControl either.

Also, it appears that NMControl needs 4-5 seconds to start working, so one has to be patient and re-query DNS if NMControl has just started.

And finally, nslookup id.bit 127.0.0.1 intermittently fails, I tried quite a few times and it sometimes times out. I think you could write a loop that runs every 5 seconds over a period of 1 hour to see if any queries time out. I am not 100% sure but it appears if 127.0.0.1 is the only DNS configured, that NMControl lookups of .bit domains fail more easily (and I wonder if that has to do with the functioning of Namecoin Core).

-----------
C:\Windows\System32>nslookup id.bit 127.0.0.1
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 127.0.0.1

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.


Thu Sep 03, 2015 12:06 pm
Profile

Posts: 1809
os: linux
Post Re: NMControl Windows Installer RC1
somename wrote:
phelix wrote:
You can test from the command line:
what your system does: 'nslookup nx.bit' or 'nslookup zombo.com' (will also tell you your default DNS)
what NMControl does: 'nslookup nx.bit 127.0.0.1' or 'nslookup zombo.com 127.0.0.1'

I hope this helps. Thanks for your bug reports and feedback. Let me know if there are more issues.


I did test with `nslookup id.bit` and `ping id.bit`, but it didn't work as I expected.

I just tried again - it seems (I don't have time to verify) that it is also important to have Namecoin Core to start with DNS resolution first, otherwise - if you set your system DNS to 127.0.0.1 and then start Namecoin Core and NMControl, Namecoin won't be able to work and consequently NMControl either.

Also, it appears that NMControl needs 4-5 seconds to start working, so one has to be patient and re-query DNS if NMControl has just started.

And finally, nslookup id.bit 127.0.0.1 intermittently fails, I tried quite a few times and it sometimes times out. I think you could write a loop that runs every 5 seconds over a period of 1 hour to see if any queries time out. I am not 100% sure but it appears if 127.0.0.1 is the only DNS configured, that NMControl lookups of .bit domains fail more easily (and I wonder if that has to do with the functioning of Namecoin Core).

-----------
C:\Windows\System32>nslookup id.bit 127.0.0.1
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 127.0.0.1

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.


The timeouts might get fixed when we switch DNS libraries (right now it's using PyDNS and PyMDS, we are most likely going to switch to Unbound and madns).

_________________
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5


Sat Sep 05, 2015 8:20 pm
Profile

Posts: 1623
Post Re: NMControl Windows Installer RC1
somename wrote:
phelix wrote:
You can test from the command line:
what your system does: 'nslookup nx.bit' or 'nslookup zombo.com' (will also tell you your default DNS)
what NMControl does: 'nslookup nx.bit 127.0.0.1' or 'nslookup zombo.com 127.0.0.1'

I hope this helps. Thanks for your bug reports and feedback. Let me know if there are more issues.


I did test with `nslookup id.bit` and `ping id.bit`, but it didn't work as I expected.

I just tried again - it seems (I don't have time to verify) that it is also important to have Namecoin Core to start with DNS resolution first, otherwise - if you set your system DNS to 127.0.0.1 and then start Namecoin Core and NMControl, Namecoin won't be able to work and consequently NMControl either.

It might be better to have resolving normal domains work before starting Namecoin Core.

Quote:
Also, it appears that NMControl needs 4-5 seconds to start working, so one has to be patient and re-query DNS if NMControl has just started.

And finally, nslookup id.bit 127.0.0.1 intermittently fails, I tried quite a few times and it sometimes times out. I think you could write a loop that runs every 5 seconds over a period of 1 hour to see if any queries time out. I am not 100% sure but it appears if 127.0.0.1 is the only DNS configured, that NMControl lookups of .bit domains fail more easily (and I wonder if that has to do with the functioning of Namecoin Core).

If you configure more than on e DNS server in Windows odd things may happen. You should leave the secondary DNS server empty with 127.0.0.1 as primary.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Wed Sep 16, 2015 12:53 pm
Profile

Posts: 1809
os: linux
Post Re: NMControl Windows Installer RC1
I once had some weird things happen where lookups using PyMDS would fail randomly on Windows. It only happened on one of my VM's. I never figured out what was causing it, because we were planning to deprecated PyMDS anyway.

_________________
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5


Wed Sep 16, 2015 7:32 pm
Profile

Posts: 1623
Post Re: NMControl Windows Installer RC1
Added installation instructions.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Mon Sep 21, 2015 2:10 pm
Profile

Posts: 1623
Post Re: NMControl Windows Installer RC1
I would like to put this up on the homepage soon.

The only thing that is not really nice is that there is no error message if the blockchain is downloading but it just fails... besides a GUI window pop up maybe we could launch a http GUI page explaining things (it would have to be "rate limited" so that it does not show up e.g. for every open tab on browser start).

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Fri Sep 25, 2015 7:57 am
Profile

Posts: 1623
Post Re: NMControl Windows Installer v0.8.1
OP updated. Ready for release.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Fri Oct 09, 2015 3:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 26 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.