Sign inSign up

lwzm/dnsmasq

By lwzm

•Updated over 6 years ago

Image
0

926

lwzm/dnsmasq repository overview

⁠Docker dnsmasq

Compose file:

version: "3"

services:

  dns:
    image: lwzm/dnsmasq
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./hosts:/etc/hosts:ro
    ports: 
      - 53:53/udp

Hosts file:

curl -L https://github.com/StevenBlack/hosts/raw/master/alternates/fakenews-gambling-porn-social/hosts \
    | awk '$1 ~ /^[0-9]/' >hosts

Tag summary

Content type

Image

Digest

Size

2.8 MB

Last updated

over 6 years ago

docker pull lwzm/dnsmasq