Jump to content

Setting Up NVS DDNS Decentralized Name Servers - pihole


Recommended Posts

Lets start by making 2 things. First we will create a name called @example which someone can send denarius to. And then we will create a basic domain.

Load the wallet and get some Denarius coins. We will need this to pay the fee + fee to miners to create / update / delete records.

Go to the NVS screen or debug console to fill this in. I am going to use Debug console for most of the guide as its easier at the moment.


Example of what this looks like in the debug console.

name_new @blockforumsexample "In Denarius We Trust" 365

We then get a tx hash


Under the My Denarius Names tab as you wait for the transaction to happen you will see a yellow highlight.


Once the transaction goes through the yellow hightlight disappears and you now have your @name added to your wallet. To show your name type below

name_show @blockforumsexample

and you get

"name" : "@blockforumsexample",
"value" : "In Denarius We Trust",
"txid" : "1f19ede29c259cbb7335bf72f97942a3a23a941c0da7d557f74ce4f964ace842",
"address" : "DR8f9v3WXqzRim7B4VzeKVYi6GG1jtpyhL",
"expires_in" : 1051199,
"expires_at" : 5265039,
"time" : 1612055193

To send to the name type

sendtoname @blockforumsexample 1.337


  • The D 1
Link to comment
Share on other sites

to create a domain lets do a very simple A record. In debug console

name_new dns:blockforumsexample.d A= 9999

Now your blockforumsexample.d will head to that A record. On nginx create a new server block like this

sudo nano /etc/nginx/sites-available/blockexample

edit to look like this for basic index.html type of website

server {
        listen 80;
        listen [::]:80;

        root /home/denarius/website;
        index index.html index.htm index.nginx-debian.html;
       server_name blockforumsexample.d;

        location / {
                try_files $uri $uri/ =404;

and now symlink that to sites-enabled

sudo ln -s /etc/nginx/sites-available/blockexample /etc/nginx/sites-enabled

check nginx is still happy

sudo nginx -t

restart the nginx service

sudo service nginx restart

Now head to next post to setup pihole to be able to view this site. The goal is to fully bypass everyone who can block us with these domain names and keep this nice and decentralized.

  • The D 1
Link to comment
Share on other sites

to setup pihole as an easy way to view the Denarius Decentralized Domains

Install pihole on a device. A Raspberry Pi4 4gb works perfect for this. As you must run the daemon/QT wallet as well to reach the NVS domains. https://pi-hole.net/

The denarius wallet requires ddns=1 in the denarius.conf to open up port 5333 so Piholes dnsmasq can talk our denarius daemon for the magic to happen.

After you install and setup pihole, make sure you change your router for the new DNS, or on your Windows MAC Linux machine set the DNS to your new pihole's address. To be continued with more info here.

Now edit this file and add the NVS domain names.

sudo nano /etc/dnsmasq.d/03-pihole-wildcard.conf

and add


I restarted the pi4 completely. To test go to these Denarius NVS domains


  • The D 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...