Giter Club home page Giter Club logo

blockcore-dns's People

Contributors

dangershony avatar sondreb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

blockcore-dns's Issues

blockcore-dns-agent ip discovery

  • Create a background worker that will discover the public ip of the local running indexer
  • Sign a message with the private key
  • Update the blokcore-dns server with such entries

blockcore-dns configuration file

An example of the appsettings.json config file section for the dns project

{
   "blockcore-dns": {
      "RefreshIntervalMin": 5,
      "Domains": [
         {
            "ValidationKey": "XYZ",
            "ProjectType": "Indexer",
         },
         {
            "ValidationKey": "XYZ",
            "ProjectType": "Vault",
         }
      ]
   }
}

blockcore-dns api endpoint to fetch indexer ip addresses

An example of how a json response could look

{
   "ServerLocations": [
      {
         "Location": "1.2.3.4:9010",
         "ProjectType": "Indexer"
      },
      {
         "Location": "1.1.1.1:443",
         "ProjectType": "Indexer"
      },
      {
         "Location": "1.1.1.1:5555",
         "ProjectType": "Vault"
      }
   ]
}

Associate a DID to a domain

To not allow a DID of a certain domain source to modify domains of other sources.

For example this case a DID abc1 can modify th IP address of all domains and subdomains for web1.com and web2.com but not of web3.com

{
Identity = did:is:abc2
Domains = [web1.com, web3.com]
},
{
Identity = did:is:abc1
Domains = [web3.com]
}

Change DnsHost to use full url method

Right now the host will only specify the domain
We should also change it to use the communication method (http:// or https://)

This

 "DnsAgent": {
    "Hosts": [
      {
        "DnsHost": "ns.coinvault.io:7010",

Needs to change to this

 "DnsAgent": {
    "Hosts": [
      {
        "DnsHost": "http://ns.coinvault.io:7010",

blockcore-dns-agent configuration file

An example of the appsettings.json config file section for the agent poject

{
   "Agent": {
      "RefreshIntervalMin": 5,
      "SigningKey": "XYZ",
      "Domains": [
         {
            "Blockcore-dns-api": "indexer.blockco.net",
            "ProjectType": "Indexer",
            "Port": "9010"
         },
         {
            "Blockcore-dns-api": "vault.blockco.net",
            "ProjectType": "Vault",
            "Port": "9020"
         }
      ]
   }
}

Ideally we could reuse a dns server to support multiple features however we need to check if support for filtering dns lookups by types is available. If using DoH (dns over https) this is probably more viable to ption

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.