mrex7 0 Posted June 28, 2017 Share Posted June 28, 2017 Simple (forward) DNS with minimal Setup Server-client architectur. Every client register his address automatically at server. Server hold a table of registred clients. Clients can send requests to get a address of a registred client. Its possible to setup multiple dns Server with own binded hosts in same network. If host not binded them try to find antother random dns server automatically. startup order of hosts and server not important. Server/Client support some arguments at runtime dnsserver status / dnsclient status dnsserver restart / dnsclient restart dnsserver start / dnsclient start / dnsserver stop / dnsclient stop dnsserver print (printing all entrys) dnsserver drop (delete all entrys) Example for usind Lib local dns=require("dns") local networkaddress=dns.ns("Computername") -- with local cached entrys to reduce network traffic --or local networkaddress=dns.ns("Computername", true) -- witout local cache. forced request on server more secure Important editable Files /etc/dns.cfg Installationfiles (u need a internet card and oppm) pastebin get sBWERkg3 server.lua pastebin get sThmq5sr client.lua Quote Link to post Share on other sites