Skip to content

publicarray/dns-resolver-infra

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
nsd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DNS Resolver Infrastructure

DNS Resolver Infrastructure

Infrastructure Overview

Actions Status Actions Status Actions Status Actions Status Actions Status Actions Status


Getting started

Quick start**

pacman -S docker docker-composer docker-buildx
git clone https://github.com/publicarray/dns-resolver-infra.git && cd dns-resolver-infra
# Add Cloudflare cedentials for acme.sh / TLS certificates
echo 'CF_TOKEN=xxxx' >> .env
echo 'CF_ACCOUNT_ID=xxxx' >> .env
echo 'CF_ZONE_ID=xxxx' >> .env

./deploy.sh

Docker Compose

# Build Images or pull them:
docker-compose pull

# Add Cloudflare cedentials for acme.sh / TLS certificates
echo 'CF_TOKEN=xxxx' >> .env
echo 'CF_ACCOUNT_ID=xxxx' >> .env
echo 'CF_ZONE_ID=xxxx' >> .env

# # Setup CA
# docker-compose run acme --register-account -m my@example.com
# # or
# docker-compose run acme.sh --set-default-ca --server letsencrypt

# Launch
docker-compose up -d

sysctl

sysctl net.ipv4.tcp_congestion_control=bbr

Tests

npm i --legacy-peer-deps
./lint.sh
npm run bats tests
./test.sh