Giter Site home page Giter Site logo

lts-dns-server's Introduction

dns-server

there are two types of urls in this standard

type1 : specific url

format: spec-xx-yy-ll1-{...content-of-ll1...}-ll2-{..content-of-ll2...}

spec: is spec and is just a fixed const plain text 
xx: is a string variable of 2 digits like '00','01','02'....,'99' , totally 100 number specifications
xx: represent which specific it is 
yyy: is string of 3 digits like '000','001','002'... ,totally 1000 numbers
yyy: represent how many pairs are there after 

pairs like below:
00-{}  //nothing pair
20-{...20 length string inside...} //20 length string


we define the 00 to be used currently for CDN meson standard example:
/////spec 00 and 2 pairs
//// you can bind backup domains of  mesontrackingx.com simply to this dns-server
//// all the thisistag will be mapped to meson-dns-ip standard
spec-00-02-015-fikcbikcafkcdax-019-thisisthebinddomain.mesontracking.com
spec-00-02-015-fikcbikcafkcdax-019-thisisthebinddomain.mesontracking2.com


///meson-dns-ip standard is a bi-directional ip-dns mapping :

 static tagToIp(tagstr){
        let result="";
        for (let i = 0; i < tagstr.length; i++) {
                let tchar=tagstr.charAt(i);
                if(tchar=='k'){
                    result = result + "."
                }else if(tchar=='x'){
                    break;
                }else{
                    result = result +String.fromCharCode(tchar.charCodeAt(0)-49);
                }
        }
        return result
    }


type2 : plain url , no meaning

lts-dns-server's People

Contributors

leolikescoding avatar

Stargazers

Jhon Guevara avatar

Watchers

 avatar Sherlock avatar  avatar

lts-dns-server's Issues

domain can not be resolved in some area

here is the dig cmd result using ISP default DNS (Deutsche Telekom AG Germany):

[fairlix@x360 ~]$ dig +trace test.mesontracking.com

; <<>> DiG 9.16.21 <<>> +trace test.mesontracking.com
;; global options: +cmd
. 82834 IN NS m.root-servers.net.
. 82834 IN NS c.root-servers.net.
. 82834 IN NS l.root-servers.net.
. 82834 IN NS a.root-servers.net.
. 82834 IN NS d.root-servers.net.
. 82834 IN NS j.root-servers.net.
. 82834 IN NS f.root-servers.net.
. 82834 IN NS e.root-servers.net.
. 82834 IN NS b.root-servers.net.
. 82834 IN NS g.root-servers.net.
. 82834 IN NS h.root-servers.net.
. 82834 IN NS k.root-servers.net.
. 82834 IN NS i.root-servers.net.
. 82834 IN RRSIG NS 8 0 518400 20211126050000 20211113040000 14748 . SbDCiW/ZAl3mAytlZ9p+9wjHkBCafCx7+/CZdypMpNGWaMm5N9hSslA/ Af/QelABMsnuLOr9VK9QV3L0XotbJDX5tBWQoKjQ5sPhtz9ular6VH2C 46hTKtGA8dmfdgsMZcuvHYRwwGslTxayXH5TYs6xozYlnuUolkKRLWoJ GpPP5od+yrQYaVwLXNxwZQakNP25M6uI6GCFewb/fz9OnraJn/a1UZZ7 wLGTSStMOu746+Mcggu/dh+UXuTOAVMbGnSBRvRgv0oLpb2Om6CF0oKL g4O5qG5hEZ82WU14yCcIomswglNLJX6w0soseb0Q8jROMZl0eRXYTFmA YUQuMQ==
;; Received 525 bytes from 192.168.1.1#53(192.168.1.1) in 223 ms

com. 172800 IN NS a.gtld-servers.net.
com. 172800 IN NS b.gtld-servers.net.
com. 172800 IN NS c.gtld-servers.net.
com. 172800 IN NS d.gtld-servers.net.
com. 172800 IN NS e.gtld-servers.net.
com. 172800 IN NS f.gtld-servers.net.
com. 172800 IN NS g.gtld-servers.net.
com. 172800 IN NS h.gtld-servers.net.
com. 172800 IN NS i.gtld-servers.net.
com. 172800 IN NS j.gtld-servers.net.
com. 172800 IN NS k.gtld-servers.net.
com. 172800 IN NS l.gtld-servers.net.
com. 172800 IN NS m.gtld-servers.net.
com. 86400 IN DS 30909 8 2 E2D3C916F6DEEAC73294E8268FB5885044A833FC5459588F4A9184CF C41A5766
com. 86400 IN RRSIG DS 8 1 86400 20211126050000 20211113040000 14748 . J01JSub2HvqYT1fAOoT8Mjfdqi4Y6l4yun+vq7V7d+/d/04FIShddmNs QT0H+Q9iM8+0lo9JUtaCiJbWBB+XxDvp5j0yyymx1f/QY7k87DbiqRXY 1x0m6L6Sli+b+rhXu+DMp6kl7V/St+5SnomholoM6QC/W217R11LKxvx 7WHkwChxk00oVy7j2Zct6ELlZzoYIJ7UBHuwI0o8cH302TrkwKxukfWD OQ90aiqBaOS16Hakc/xiFSDioNry8wXEgsWQ5V4v/EqxVRyB6pWY3alo QGmsRtNdyEvVkudaoYxJIVcXLr9TGWSCzEDXUJyhVdBbkNfTX/f684Ax ifGZmA==
;; Received 1182 bytes from 2001:500:9f::42#53(l.root-servers.net) in 303 ms

mesontracking.com. 172800 IN NS dns1.mesontracking.com.
mesontracking.com. 172800 IN NS dns2.mesontracking.com.
CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN NSEC3 1 1 0 - CK0Q1GIN43N1ARRC9OSM6QPQR81H5M9A NS SOA RRSIG DNSKEY NSEC3PARAM
CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN RRSIG NSEC3 8 2 86400 20211120052323 20211113041323 15549 com. DAxFMIztgmIV4E4axgSUVrSJnbe38B5vkg82iaPRrhc4RwAtZrS5qZZ6 RZEKiUbT2UqLd6wIACeQPK8Mq4sk4grQ9RRvw56AYZ25iHIdMEL4h3ZZ p3iL0Ia6hMdlY/5tWk1gprItrY8ha5fUQuwhEVMC3h/2mf/PUUG9AqjB QCi4GAIVZeMWZ0mjBuRENl2mbEkwC7GgHXb86MkmdP2XsA==
O7CDKS3H7ANCFNO2PBF9NO2S38N6MG5U.com. 86400 IN NSEC3 1 1 0 - O7CDR0U79HLSRBMEG2U1Q6C364HKMSNB NS DS RRSIG
O7CDKS3H7ANCFNO2PBF9NO2S38N6MG5U.com. 86400 IN RRSIG NSEC3 8 2 86400 20211120060631 20211113045631 15549 com. CBH8722T+JX/ORPAHJnzxI9D4Wp2Bimr2GtjFG5DuBI5F8c337FTy4eZ UTqTWUvK6Jc4SxhHuCMoyPDXTY+vszlZA1JGZ9fKGZN+Tl7p+QGsj/4o ODMkpnfW7pzi6tatk8CtccINypE2ci8hUgzHurCykeWaNVl955NiGw2N xmZopVSbZ2jv3gxDMuivkAl0hj+Cl/F5w/GOu8mWJeH0jw==
couldn't get address for 'dns1.mesontracking.com': not found
couldn't get address for 'dns2.mesontracking.com': not found
dig: couldn't get address for 'dns1.mesontracking.com': no more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.