Service for periodically requesting dns resolution against an defined resolver.
If a service name instead of an IP address is used as an resolver, the resolver name resolution will be processed through 127.0.0.11.
version: "3.8"
services:
unbound:
image: kwitsch/unbound:monthly
networks:
- dnscom
dnscacherefresh:
image: kwitsch/dnscacherefresh
environment:
- DCR.RESOLVER=unbound
- DCR.START=10s
- DCR.REFRESH=2h
- DCR.VERBOSE=True
- DCR.DOMAINS[0]=github.com
- DCR.DOMAINS[1]=hub.docker.com
networks:
- dnscom
networks:
dnscom:
Content type
Image
Digest
Size
1.6 MB
Last updated
almost 5 years ago
docker pull kwitsch/dnscacherefresh