yggdrasil-go
yggdrasil-go copied to clipboard
Built-in DNS
Apologies in advance for translate.google
You have created a wonderful network. I thank you. If you do not mind, I suggest you register on donate platforms where we can financially support you, development, Yggdrasil Network project. For a small donation to the developer (through the donate platform), in return, you will provide users with the opportunity to create their own (eternal, editable in cases of need) domain in the .ygg .mesh .coin zones .. and other non-working in the global network. For these purposes, create a separate chat (for feedback) in matrix or telegram.
Implementation: Embed a local DNS resolver in the client, which will work with a local /etc /hosts file (updated via the Internet once a day) which you will publish, for example, on your site hosts.neilalexander.dev. and github.com/yggdrasil-network/hosts or in other sources Add separate myhosts (for manual addition)
Benefits from this:
- Unified DNS base
- Responsiveness, speed, no need every time they turn to external DNS servers.
- There is no need to use mining, and others (crutches).
- Financial support, will stimulate the developer to improve the network and user application in which there is a very shortage of practical implementations (Web.UI interface. UDP QUIC protocols .. Direct p2p connection between users, with support for nat hole punching) ... as implemented for example in the Syncthing app
Available libraries for interacting with the local /etc/hosts file on different OS : https://github.com/txn2/txeh https://github.com/goodhosts/hostsfile Perhaps there are others...
-
Yggdrasil and DNS systems resolve non-overlapping tasks. Yggdrasil resolve problem of connectivity beetwen systems (routing). DNS - is next-level service, which resolve other problem in network of ALREADY connected systems.
-
Grants to change hosts file from networked service - is bad security practice with high risk. hosts file is in competention of
System Aadministrator
. Routing is in competention ofNetwork Administrator
. Network Admin can not change system files without System Admin - it is a basic security rule. If yggdrasill will require grants to change hosts file - I will block them always. -
Changes to hosts file does nod needs yggdrasil or any other network service. hosts file can updated by third-party script in cron, without yggdrasil service.
-
Domain resolving system, based on the hosts file - does nod need separate DNS-resolver in any sense.
Yes, this is understandable, I still prefer DHT and Alfis
I prefer A.L.F.R.E.D. to redistribute DNS info and bash script to convert-and-import those info into local standart cached DNS-resolver Unbound.
DNS discussed in #661