Sign inSign up

pezetpl/dns-resolver

By pezetpl

•Updated over 1 year ago

dns query tool

Image
Networking
0

494

pezetpl/dns-resolver repository overview

This is simple aplication to query DNS using A and PTR records. DNS settings are configured using Environmental variables.

docker-compose.yml

version: '3.3'

services: dns-resolver: image: dns-resolver:latest container_name: dns-resolver ports: - "5000:5000" restart: unless-stopped environment: # Option 1: Configure individual servers - DNS_NA_SERVER=1.1.1.1 - DNS_NA_NAME=Cloudflare DNS (North America) - DNS_SA_SERVER=8.8.8.8 - DNS_SA_NAME=Google DNS (South America) - DNS_EU_SERVER=9.9.9.9 - DNS_EU_NAME=Quad9 (Europe) - DNS_ASIA_SERVER=208.67.222.222 - DNS_ASIA_NAME=OpenDNS (Asia) # Option 2: Configure all servers using JSON (commented out by default) # - DNS_SERVERS={"North America":{"name":"Cloudflare","server":"1.1.1.1"},"South America":{"name":"Google","server":"8.8.8.8"},"Europe":{"name":"Quad9","server":"9.9.9.9"},"Asia":{"name":"OpenDNS","server":"208.67.222.222"}} # Additional configuration - DNS_TIMEOUT=5.0 - DNS_LIFETIME=5.0 - PORT=5000 - DEBUG=False healthcheck: test: wget --no-verbose --tries=1 --spider http://localhost:5000⁠ || exit 1 interval: 30s timeout: 10s retries: 3 security_opt: - no-new-privileges:true

Tag summary

Content type

Image

Digest

sha256:1b83af7dd…

Size

20.1 MB

Last updated

over 1 year ago

docker pull pezetpl/dns-resolver