DNS Resolution

Post Reply
Nesetalis
Posts: 17
Joined: Sat May 14, 2011 10:07 am

DNS Resolution

Post 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?

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: DNS Resolution

Post 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.
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

Nesetalis
Posts: 17
Joined: Sat May 14, 2011 10:07 am

Re: DNS Resolution

Post by Nesetalis »

what exactly does the proxy point to?

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: DNS Resolution

Post 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.
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

Nesetalis
Posts: 17
Joined: Sat May 14, 2011 10:07 am

Re: DNS Resolution

Post by Nesetalis »

do you intend to implement proxy code in to namecoind?

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: DNS Resolution

Post by khal »

No, this is a separate tool patched by vince. It is available in the 'client' folder of namecoin sources.
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

moa
Posts: 255
Joined: Mon May 23, 2011 6:13 am

Re: DNS Resolution

Post 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.)

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: DNS Resolution

Post 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).
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

moa
Posts: 255
Joined: Mon May 23, 2011 6:13 am

Re: DNS Resolution

Post 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 ...

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: DNS Resolution

Post 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/
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

Post Reply