smart-dns
smart-dns copied to clipboard
The service allows you to hide your geo-location
Smart DNS Proxy
The Nginx config file is base on this module
What is Smart DNS Proxy
A Smart DNS is a service you can use to access geo-restricted Internet content. It became extremely popular due to the increased use of geo-blocking technology by content providers like Netflix. The service allows you to hide your geo-location, meaning you can watch geo-blocked content from anywhere in the world
Requirements
Run it by yourself
:warning: Make sure ports 80, 443 and 53 are not used in your system
Linux:
sudo lsof -i :443
sudo lsof -i :80
sudo lsof -i :53
if you want to add your NAME record and IP address you can add or edit this file dnsmasq/proxy.conf
you have to replace 127.0.0.1
with your PUBLIC IP
for each domain, you add you have to build dnsmasq Dockerfile or just mount it this file form your server to the container
Mount proxy.conf
if you don't like to build your image every time, you can uncomment these lines in docker-compose.yml
volumes:
# Host:container
- dnsmasq/proxy.conf:/etc/dnsmasq.d/proxy.conf
for example:
if you want to add docker domain
address=/.docker.com/127.0.0.1 #YOUR PUBLIC IP
address=/.docker.io/127.0.0.1 #YOUR PUBLIC IP
you can Build your images:
docker build -t rohammosalli/dnsmasq:v1 dnsmasq/
docker build -t rohammosalli/Nginx-proxy:v1 .
Run Smart DNS
You can simply run this project with this command
docker-compose up -d
You can also Build and Run
docker-compose up --build -d