flavienperier/dns

By flavienperier

Updated 6 months ago

Image for Bind DNS.

Image
Networking
Integration & delivery
0

2.4K

flavienperier/dns repository overview

license docker pulls ci status

Dockerfile DNS

Dockerfile for Bind DNS.

Env variables

  • SERVER_IP: IP.
  • DOMAIN: Domain (example: domain.lan).
  • SUB_DOMAINS: List of sub-domains (for example: www mail cloud).
  • SUB_DNS: List of sub DNS. By default the service uses OpenDNS.

Ports

  • 53: UDP

Docker-compose example

dns:
  image: flavienperier/dns
  container_name: dns
  restart: always
  ports:
    - 53:53/udp
  environment:
    SERVER_IP: 127.0.0.1
    DOMAIN: domain.lan
    SUB_DOMAINS: www mail cloud
    SUB_DNS: 208.67.222.222 208.67.220.220

Tag summary

Content type

Image

Digest

sha256:066259cfc

Size

10.4 MB

Last updated

6 months ago

docker pull flavienperier/dns