Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

mrex7

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by mrex7

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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.