Skip to content

RootShell-coder/docker-bind9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker bind9

bind9

A Docker container for BIND9 DNS server.

Quick Start

  1. Clone the repository.
  2. Run docker-compose up -d to start the BIND9 service.

Configuration

Important: The files in ./bind/ are examples only. You must replace them with your own BIND9 configuration files before running the container.

  • Ports: Exposes DNS on port 53 (UDP/TCP). Optional: DoT on 853, statistics on 8080, management on 953.
  • Volumes (required replacements):
    • ./bind/dnssec/:/etc/bind/dnssec - DNSSEC keys and zones (replace with your keys/zones)
    • ./bind/int/:/etc/bind/int - Internal zones (replace with your internal zones)
    • ./bind/named.conf:/bind/named.conf - Main configuration file (replace with your named.conf)
  • Environment:
    • S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 - Service startup timeout

Optional Features

Uncomment in docker-compose.yml for:

  • ADBLOCK: Set ADBLOCK="true" and configure URLs for RPZ-based ad blocking.
  • SSL/TLS: Mount SSL certificates to /etc/ssl/bind/.
  • Additional configs: Mount acl.conf and option.conf if needed.

About

bind9

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •