From f24d853f17a95bd7601cbd13994e1a0dbb90e33d Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 4 Jul 2019 01:44:53 +0200 Subject: [PATCH 1/5] dravt v1 --- content/post/setup-namecoin-tld-lookup.md | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 content/post/setup-namecoin-tld-lookup.md diff --git a/content/post/setup-namecoin-tld-lookup.md b/content/post/setup-namecoin-tld-lookup.md new file mode 100644 index 0000000..847b186 --- /dev/null +++ b/content/post/setup-namecoin-tld-lookup.md @@ -0,0 +1,32 @@ ++++ +title = "Setup Namecoin Tld Lookup" +date = 2019-07-03T00:14:36+02:00 +author = "MH" +cover = "" +tags = ["dns", "namecoin", "blokchain", "setup"] +description = "A straightforward way to set up a resolver only for Namecoins bit top-level domain" +showFullContent = false +draft = true ++++ + +I don't use any packages of an distro because Namecoins packages are only poorly maintained. + +download binarys of namecoin and ncdns for your linux distros: + + * [https://github.com/namecoin/ncdns/releases/latest](https://github.com/namecoin/ncdns/releases/download/v0.0.8/ncdns-v0.0.8-linux_amd64.tar.gz) + * [https://namecoin.org/download/](https://www.namecoin.org/files/namecoin-core-0.16.3/namecoin-0.16.3-x86_64-linux-gnu.tar.gz) + +extrakt namecoin to /opt/namecoin +extrakt ncdns to /opt/ncdns + +create new user e.g. ( useradd name ) + +mkdir /var/lib/namecoin +chown name /var/lib/namecoin + +crontab -e + +``` +@reboot sudo -u /opt/namecoin/bin/namecoind -datadir=/var/lib/namecoin -rpccookiefile=/var/lib/namecoin/rpc.cookie & +@reboot sleep 20s; /opt/ncdns/bin/ncdns -service.uid $(id -u ) -ncdns.namecoinrpccookiepath /var/lib/namecoin/rpc.cookie & +``` From 2dbc6f44b63cf0ed619a6b5daea9b36f4426cb8c Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 5 Jul 2019 19:57:07 +0200 Subject: [PATCH 2/5] spelling --- content/post/setup-namecoin-tld-lookup.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/post/setup-namecoin-tld-lookup.md b/content/post/setup-namecoin-tld-lookup.md index 847b186..99ceca9 100644 --- a/content/post/setup-namecoin-tld-lookup.md +++ b/content/post/setup-namecoin-tld-lookup.md @@ -9,15 +9,15 @@ showFullContent = false draft = true +++ -I don't use any packages of an distro because Namecoins packages are only poorly maintained. +This setup is distor independent. All you need is cron to start the blockchain and the name resolver. -download binarys of namecoin and ncdns for your linux distros: +download namecoin and ncdns binaries for your linux distros: * [https://github.com/namecoin/ncdns/releases/latest](https://github.com/namecoin/ncdns/releases/download/v0.0.8/ncdns-v0.0.8-linux_amd64.tar.gz) * [https://namecoin.org/download/](https://www.namecoin.org/files/namecoin-core-0.16.3/namecoin-0.16.3-x86_64-linux-gnu.tar.gz) -extrakt namecoin to /opt/namecoin -extrakt ncdns to /opt/ncdns +extract namecoin to /opt/namecoin +extract ncdns to /opt/ncdns create new user e.g. ( useradd name ) From a53b7b8e60faf9ce4ae84ab093ed370ec610602b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 5 Jul 2019 19:57:42 +0200 Subject: [PATCH 3/5] finish sentence --- content/post/setup-namecoin-tld-lookup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/post/setup-namecoin-tld-lookup.md b/content/post/setup-namecoin-tld-lookup.md index 99ceca9..f0efd4c 100644 --- a/content/post/setup-namecoin-tld-lookup.md +++ b/content/post/setup-namecoin-tld-lookup.md @@ -30,3 +30,5 @@ crontab -e @reboot sudo -u /opt/namecoin/bin/namecoind -datadir=/var/lib/namecoin -rpccookiefile=/var/lib/namecoin/rpc.cookie & @reboot sleep 20s; /opt/ncdns/bin/ncdns -service.uid $(id -u ) -ncdns.namecoinrpccookiepath /var/lib/namecoin/rpc.cookie & ``` + +Thats it, just reboot! From 9af184f08bb9ad944f4c5c51a38620115ebe1740 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 5 Jul 2019 19:59:07 +0200 Subject: [PATCH 4/5] add a test cae --- content/post/setup-namecoin-tld-lookup.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/post/setup-namecoin-tld-lookup.md b/content/post/setup-namecoin-tld-lookup.md index f0efd4c..4672a0e 100644 --- a/content/post/setup-namecoin-tld-lookup.md +++ b/content/post/setup-namecoin-tld-lookup.md @@ -32,3 +32,7 @@ crontab -e ``` Thats it, just reboot! + +> to test it: + +> dig @localhost obermui.bit From 07b8728b9645cd5d241d10cb0787bfd4a3cd394e Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 5 Jul 2019 19:59:30 +0200 Subject: [PATCH 5/5] ready for release --- content/post/setup-namecoin-tld-lookup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/post/setup-namecoin-tld-lookup.md b/content/post/setup-namecoin-tld-lookup.md index 4672a0e..5e9f0d8 100644 --- a/content/post/setup-namecoin-tld-lookup.md +++ b/content/post/setup-namecoin-tld-lookup.md @@ -6,7 +6,7 @@ cover = "" tags = ["dns", "namecoin", "blokchain", "setup"] description = "A straightforward way to set up a resolver only for Namecoins bit top-level domain" showFullContent = false -draft = true +draft = false +++ This setup is distor independent. All you need is cron to start the blockchain and the name resolver.