Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to setup nameservers correctly? #63

Open
olddocks opened this issue Mar 9, 2018 · 5 comments
Open

how to setup nameservers correctly? #63

olddocks opened this issue Mar 9, 2018 · 5 comments

Comments

@olddocks
Copy link

olddocks commented Mar 9, 2018

i want to run a dns seeder for bitcoin. i have registered a domain. How to setup nameservers pointing to dns seeder?

I currently have nameservers setup correctly with godaddy. I have added vps host ip address to register as a nameserver.

Type | Name | Value | TTL | Actions
-- | -- | -- | -- | --
A | @ | x.x.xxxx.x | 1 Hour | Edit
A | dnsseed | x.x.xxxx.x | 1 Hour | Edit
A | vps | x.x.xxxx.x | 1 Hour | Edit
NS | @ | ns59.domaincontrol.com | 1 Hour |  
NS | @ | ns60.domaincontrol.com | 1 Hour |  
NS | dnsseed | vps | 1 Hour

and i run

./dnsseed -h dnsseed.example.com -n vps.example.com
but when i check it, the dns seeder is NOT listening on port 53.
I run with ubuntu LTS 16 and i am running both daemon and dnseeder on the same machine.

This also not working

dig dnsseed.mydomain.com

$ dig dnsseed.example.org

; <<>> DiG 9.8.3-P1 <<>> dnsseed.example.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3808
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

What is wrong here?
I have opened port 53 TCP/UDP

@DemonRx
Copy link

DemonRx commented Feb 23, 2019

@olddocks I'm working on getting this setup as well, and have gotten stuck with this too. Did you ever resolve how to get the NS records setup ? I'm using cloudflare...

@ccconnor
Copy link

@D3m0nKingx Did you resolve it? I'm using cloudflare too.

@DemonRx
Copy link

DemonRx commented Mar 19, 2019

@heyconnor ty for pinging me I just realized to ask a dev on lux's discord. They just cloned/setup one for their project. I'll see to it if they can shed some light on this.

@DemonRx
Copy link

DemonRx commented Mar 19, 2019

@heyconnor Solution ... just setup a CNAME record for your domain with cloudflare. That will setup the NS record automatically, which you can then point your nodes to. Cloudflare's nameservers is the NS record :)

image

Then just add your seeder's URL to your nodes' coin.conf file or into chainparams.cpp. For example

seeder.YourDomain.com where "seeder" is the CNAME

@ccconnor
Copy link

@D3m0nKingx Thanks, I've setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants