namecoin .bit dns installer for linux (experimental)
(namecoin core v22.0 & ncdns v0.3, updated 3.1.2024)

this installer has been only tested on manjaro-xfce
other linux distros might need some adjustment

install requirements
which pacman && sudo pacman -S screen || sudo apt install screen

install ncdns
curl https://rentry.org/ncdns-installer-script/raw | bash

add network bind permission for dns server
sudo setcap CAP_NET_BIND_SERVICE=+ep $(which ncdns)

run
namecoind -daemon -rpcuser=username -rpcpassword=password -disablewallet && screen -dmS ncdns ncdns -ncdns.bind 127.0.0.1:53 -ncdns.namecoinrpcusername username -ncdns.namecoinrpcpassword password

does it work?
firefox http://bartsch.bit

firefox config (optional)
browser.fixup.domainsuffixwhitelist.bit -> true
security.external_protocol_requires_permission false

after reboot or if is stops working
pkill ncdns && pkill namecoind

namecoind -daemon -rpcuser=username -rpcpassword=password -disablewallet && screen -dmS ncdns ncdns -ncdns.bind 127.0.0.1:53 -ncdns.namecoinrpcusername username -ncdns.namecoinrpcpassword password

dns cache
your system may use dns cache

systemctl is-active systemd-resolved
resolvectl statistics
resolvectl flush-caches

Edit
Pub: 01 Jan 2024 01:58 UTC
Edit: 06 Jan 2024 16:17 UTC
Views: 124