Page 1 of 1

DNS Resolution

Posted: Sun May 15, 2011 8:42 pm
by Nesetalis
I know at the moment you are using two DNS servers to direct to .bit domain names... but are you planning on making a full p2p DNS service so we dont have to connect to another site... simply point dns to resolv to localhost or some such?

Re: DNS Resolution

Posted: Sun May 15, 2011 9:13 pm
by khal
It's already possible if you install a proxy on your computer.
It's not well explain on the wiki for now, but it may be sufficient for you :
=> Use a proxy in your applications

With this solution (ncproxy + polipo for example), you are totaly autonomous.

Another solution is to install a DNS server on your computer, parse namecoind data and transform them to zone files. That's what is done on the two existing DNS servers.

Re: DNS Resolution

Posted: Mon May 16, 2011 6:23 am
by Nesetalis
what exactly does the proxy point to?

Re: DNS Resolution

Posted: Mon May 16, 2011 8:36 am
by khal
It points to the namecoind software, wich must be launched, to find the asked domain and resolve it to ip (ncproxy job). It then passes the request to polipo, which makes the http request to the know ip/domain.

Re: DNS Resolution

Posted: Mon May 16, 2011 10:30 am
by Nesetalis
do you intend to implement proxy code in to namecoind?

Re: DNS Resolution

Posted: Mon May 16, 2011 10:40 am
by khal
No, this is a separate tool patched by vince. It is available in the 'client' folder of namecoin sources.

Re: DNS Resolution

Posted: Wed May 25, 2011 10:07 am
by moa
So unless one of the .bit nameservers is primary on a machine or router, then users on the "other" system will not be able to resolve .bit domains, correct?

Should we make plans to set-up some kind of bridge/portal so that regular DNS will find .bit domains even if the .bit nameserver is not included explicitly in their DNS list?

(Not sure exactly how this would be done, something sneaky maybe.)

Re: DNS Resolution

Posted: Wed May 25, 2011 10:29 am
by khal
moa wrote:So unless one of the .bit nameservers is primary on a machine or router, then users on the "other" system will not be able to resolve .bit domains, correct?

Should we make plans to set-up some kind of bridge/portal so that regular DNS will find .bit domains even if the .bit nameserver is not included explicitly in their DNS list?

(Not sure exactly how this would be done, something sneaky maybe.)
This is impossible... DNS servers will ask IANA who "owns" .bit and they will have no answers.

Changing your nameservers on you computer, or using a proxy on your softwares are the only solutions...
When the Domain spec will be finalised, you will be able to run your own DNS server on your computer too (because i'll release my script to convert namecoin data to bind zones, and other people will do the same).

Re: DNS Resolution

Posted: Wed May 25, 2011 11:10 am
by moa
khal wrote:
moa wrote:So unless one of the .bit nameservers is primary on a machine or router, then users on the "other" system will not be able to resolve .bit domains, correct?

Should we make plans to set-up some kind of bridge/portal so that regular DNS will find .bit domains even if the .bit nameserver is not included explicitly in their DNS list?

(Not sure exactly how this would be done, something sneaky maybe.)
This is impossible... DNS servers will ask IANA who "owns" .bit and they will have no answers.

Changing your nameservers on you computer, or using a proxy on your softwares are the only solutions...
When the Domain spec will be finalised, you will be able to run your own DNS server on your computer too (because i'll release my script to convert namecoin data to bind zones, and other people will do the same).
As a temporary measure to give wider access to the .bit domains, (vast majority of users are not going to be changing their DNS set-up any time soon) is there a way to use an unassigned root zone to re-direct to .bit, for example ... just wondering? Some small country that is not using its root maybe happy to have its DNS needs taken care of and we provide the service and a get mapping to .bit?

http://www.iana.org/domains/root/db/#

http://www.iana.org/domains/root/db/cw.html

Just brain-storming here ...

Re: DNS Resolution

Posted: Wed May 25, 2011 11:43 am
by khal
There is a similar approach here :
http://dot-bit.org/forum/viewtopic.php?f=2&t=22

But it requires webmasters to add theirdomain.bitname.org too, in their webserver config (same as your solution).

Example : http://opennic.bitname.org/