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 & +```