Ok, will try :smile:
First for the technical background: Basically it's all about DNS (domain name service), the yellowbook of the internet if you like.
As you know a server can be adressed either via IP (eg. 23.23.186.131) or name (
www.darkcoin.io) The mapping between these two is done by a special service, the DNS.
So if you use '
www.darkcoin.io' in your browser, there is a request going out to your ISPs' DNS, asking for infomation on this name. The DNS is returning a list of different DNS records from where your browser can derive - beside other things - the IP of the server hosting
www.darkcoin.io website and can now get HTML content from.
Sample query for above scenario
Code:
;; QUESTION SECTION:
;www.darkcoin.io. IN A
;; ANSWER SECTION:
www.darkcoin.io. 1800 IN A 23.23.186.131
;; AUTHORITY SECTION:
darkcoin.io. 3672 IN NS dns5.registrar-servers.com.
[...]
Ok, i hope i didn't loose you so far. :smile:
Now comes the part where we use the DNS as 'dnsseed' for our darkcoin wallet. We have seen above that the DNS can the asked for and is returning 'A record type' entries for the hostname in question. But the DNS can not only return one entry, but many:
Code:
;; QUESTION SECTION:
;dnsseed.darkcoin.qa. IN A
;; ANSWER SECTION:
dnsseed.darkcoin.qa. 60 IN A 94.156.77.169
dnsseed.darkcoin.qa. 60 IN A 95.85.12.25
dnsseed.darkcoin.qa. 60 IN A 108.61.159.81
dnsseed.darkcoin.qa. 60 IN A 108.61.198.88
dnsseed.darkcoin.qa. 60 IN A 108.81.241.74
dnsseed.darkcoin.qa. 60 IN A 115.29.10.32
dnsseed.darkcoin.qa. 60 IN A 128.199.199.215
dnsseed.darkcoin.qa. 60 IN A 128.199.214.79
dnsseed.darkcoin.qa. 60 IN A 176.31.117.210
dnsseed.darkcoin.qa. 60 IN A 184.164.184.219
dnsseed.darkcoin.qa. 60 IN A 188.226.135.128
dnsseed.darkcoin.qa. 60 IN A 188.226.233.211
[...]
So what we did here is ask your ISPs' DNS for A records for the hostname 'dnsseed.darkcoin.qa' and it returned a list of them - guess what the IPs can be used for in our wallet :wink:
Still with me? OK!
Now comes the part with the DNS-zones. You may have noticed that i wrote
"your ISPs' DNS" - and now you may ask yourself: How does my ISPs' DNS know about darkcoin node IPs at all? Answer is: It doesn't. But it does know where to ask!
The DNS system is built up in a hierarchial manner, with servers delegating requests if they are not able to answer a request by themselves. Ever wondered about the dots '.' in a domain name - and terms like TLD (top level domain)?
The story goes like this: Our wallet wants to know the A record entries for dnsseed.darkcoin.qa and use it as bootstrap for blockchain download. At first it is splitting the name
dnsseed.darkcoin.qa in its elements (levels)
Code:
dnsseed <-- n-level domain
darkcoin <-- second level domain
qa <-- top level domain (TLD)
DNS is working in reverse order, so at first we are asking our ISPs' DNS: "give me all A records for the '
qa' zone"
Code:
;; QUESTION SECTION:
;qa. IN A
;; AUTHORITY SECTION:
qa. 3600 IN SOA a.registry.qa. ofdul.at.ict.gov.qa. 2012060708 3600 7200 1816400 3600
Your ISPs' DNS answers: IDK, but ask server
a.registry.qa, he knows. So we are asking this server next: "give me all A records for the '
darkcoin.qa' zone"
The DNS (
a.registry.qa) answers:
Code:
;; QUESTION SECTION:
;darkcoin.qa. IN A
;; AUTHORITY SECTION:
darkcoin.qa. 3600 IN NS t1.zoneedit.com.
Translated: IDK, but ask
t1.zoneedit.com, he knows. So we will ask
t1.zonedit.com "give me all A records for the '
dnsseed.darkcoin.qa' zone"
Answer:
Code:
;; QUESTION SECTION:
;dnsseed.darkcoin.qa. IN A
;; AUTHORITY SECTION:
dnsseed.darkcoin.qa. 7200 IN NS seed1.darkcoin.qa.
dnsseed.darkcoin.qa. 7200 IN NS seed2.darkcoin.qa.
dnsseed.darkcoin.qa. 7200 IN NS seed3.darkcoin.qa.
Almost here - so one final request, now asking
seed1.darkcoin.qa "give me all A records for the '
dnsseed.darkcoin.qa' zone"
Answer:
Code:
;; QUESTION SECTION:
;dnsseed.darkcoin.qa. IN A
;; ANSWER SECTION:
dnsseed.darkcoin.qa. 60 IN A 54.185.33.144
dnsseed.darkcoin.qa. 60 IN A 188.134.81.196
dnsseed.darkcoin.qa. 60 IN A 54.185.33.168
dnsseed.darkcoin.qa. 60 IN A 129.194.41.128
dnsseed.darkcoin.qa. 60 IN A 47.20.207.76
dnsseed.darkcoin.qa. 60 IN A 92.222.177.173
[...]
Finally :smile: Still there? One more chapter :grin:
You may have noticed that each of the DNS above did not return A records, but NS records when they where not able to answer our request and are delegating us. That's were we can hook in for setting up our (your) own dnsseed.
So you need
- a domain which belongs to you
- a dns server that you are able to control
I don't know if your cPanel is sufficient, but i found this here
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/EditZone
So if you can access this tab in your cPanel, we are ready to go.
All you need is to make two entries. One NS-type, and one A-type - let me know if you have access to this panel and we can finalize this :grin:
And sorry if my elaboration was to exhaustive...