10000 GitHub - vorlon001/JSDNS: DNS server configured using redis. Based on https://github.com/gizur/redis-dns.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

vorlon001/JSDNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is DNS server on nodejs.

  1. Your IP:
  • MASTER SERVER Debian 9.5.

  • Docker version 18.03.1-ce, build 9ee9f40

  • IP JSDNS: 172.19.0.2

  • IP MASTER SERVER: 172.19.0.1


  1. BUILD
  • docker network create --subnet=172.19.0.0/16 net_172_19
  • docker network ls
  • mkdir -p /docker/images/
  • mkdir -p /docker/host/
  • cd /docker/images/
  • git clone https://github.com/vorlon001/JSDNS
  • cd JSDNS
  • ./build.sh
  • ./run_dns.sh 1 172.19.0.2 128

  1. Configure
  • docker exec $(docker ps -a | grep redis_1_172.19.0.2 | awk '{print $1}') redis-cli set redis-dns:dbserver.redis-dns.local 10.0.0.1
  • docker exec $(docker ps -a | grep redis_1_172.19.0.2 | awk '{print $1}') redis-cli set redis-dns:appserver.redis-dns.local 10.0.0.2
  • docker exec $(docker ps -a | grep redis_1_172.19.0.2 | awk '{print $1}') redis-cli set redis-admin:172.19.0.1:token true

Add token for change dns record


  1. TEST Your JSDNS

About

DNS server configured using redis. Based on https://github.com/gizur/redis-dns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0