Jump to content
Sign in to follow this  
buzzkillb

DNS Seeder Setup

Recommended Posts

I am using he.net free dns for the setup of nameservers. https://dns.he.net

Get a domain like denarius.guide for our example. The dns seeder nameserver will be dnsseed.denarius.guide

Go to your domain and point it to the given he.net servers so he.net is handling your records.

Lets add the first part.

image.thumb.png.cd3870e6d58c9d64a970ec692241c88d.png

This creates

dnsseed.denarius.guide.	86400	IN	NS	seeder.denarius.guide.

Now lets point seeder.denarius.guide to our vps ip.

image.thumb.png.6d68e365bdc5e17f7441cadd2374b8c9.png

This creates

seeder.denarius.guide.	86400	IN	A	163.172.157.116

Also can create an AAAA record because IPv6 is the future right?

image.thumb.png.d233e5d9318be2112375cebe5b6451d6.png

This creates

seeder.denarius.guide.	86400	IN	AAAA	2001:bc8:47a0:1933::1

On the vps side we need our dns seeder. Clone a seeder repo, get dependencies, and compile. This could vary depending on OS and VPS.

git clone https://github.com/buzzkillb/d-seeder
sudo apt-get install build-essential libboost-all-dev libssl-dev
make -j2

Run the seeder for a while, and wait for the DNS to propagate. I also sudo apt install tor just because

./dnsseed -h dnsseed.denarius.guide -n seeder.denarius.guide -m buzz.denarius.io -o 127.0.0.1:9050

How to check if this is working.

https://www.whatsmydns.net/#NS/dnsseed.denarius.guide


Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites

I am using Scaleway VPS which only allows Ubuntu 18.04 Bionic for the cheaper plans. systemd-resolve appears to take over port 53.

lsof -i -P -n | grep LISTEN

and we see port 53

image.thumb.png.1b34cce9ef973d12022c0cb1c912477b.png

what I did to remove this was

sudo nano /etc/systemd/resolved.conf

then edit resolved.conf to this

DNS=8.8.8.8
DNSStubListener=no

restart systemd-resolved

sudo systemctl restart systemd-resolved

save old symlink

sudo mv /etc/resolv.conf /etc/resolv.conf.OLD

create new symlink

sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

lets check if port 53 is there anymore

lsof -i -P -n | grep LISTEN

image.thumb.png.aacbcca6ff351410316c8f062177970d.png

its gone, now go run your seeder and wait for DNS records to propagate through the internet backbone

image.thumb.png.c86869c8a60df7582ad1a785d761ad1c.png

 


Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...