Sign inSign up

lollonet/coredns

By lollonet

•Updated over 7 years ago

Coredns 1.5.0 in Alpine 3.9.3

Image
0

265

lollonet/coredns repository overview

⁠Docker coredns

https://github.com/lollonet/docker-coredns⁠

Docker Automated build Build Status Container Ready

Docker image to run CoreDNS⁠

Example command to run CoreDNS in a container, adding the example config from the repo. This sets up CoreDNS as a proxy, for sending DNS request to Google using HTTPS

docker run -m 100m --expose=53 --expose=53/udp -p 53:53 -p 53:53/udp -v "$PWD"/config:/etc/coredns --restart=on-failure --name coredns lollonet/coredns

To run CoreDNS as an authorative DNS server for a zone, add the appropriate zone file in the config directory and adjust the Corefile⁠.

For more CoreDNS info, check the Quick Start guide⁠

Example docker-compose.yml

---
version: '3.1'
services:
  coredns:
    image: coredns
    container_name: coredns
    restart: on-failure
    expose:
      - '53'
      - '53/udp'
    ports:
      - '127.0.0.1:53:53'
      - '127.0.0.1:53:53/udp'
    volumes:
      - './config:/etc/coredns'

Tag summary

Content type

Image

Digest

Size

19.1 MB

Last updated

over 7 years ago

docker pull lollonet/coredns