2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update ftldns

This commit is contained in:
kev
2024-02-27 17:10:49 +08:00
parent a6fdbcd65b
commit 324258a705
2 changed files with 3 additions and 1 deletions

View File

@@ -3,10 +3,12 @@
# #
FROM alpine:3 FROM alpine:3
#FROM debian:12-slim
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
ARG FTL_VERSION=v5.25.1 ARG FTL_VERSION=v5.25.1
ARG FTL_FILE=pihole-FTL-musl-linux-x86_64 ARG FTL_FILE=pihole-FTL-musl-linux-x86_64
#ARG FTL_FILE=pihole-FTL-aarch64-linux-gnu
ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/${FTL_VERSION}/${FTL_FILE} ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/${FTL_VERSION}/${FTL_FILE}
RUN set -xe \ RUN set -xe \

View File

@@ -15,7 +15,7 @@ $ docker compose exec ftldns pihole-FTL sql -h gravity.db
>>> insert into domainlist(type, domain) values (3, '(\.|^)youtube\.com$'); >>> insert into domainlist(type, domain) values (3, '(\.|^)youtube\.com$');
>>> .quit >>> .quit
$ docker compose exec ftldns kill -RTMIN 1 $ docker compose kill -s RTMIN ftldns
$ dig @127.0.0.1 -p 53 www.youtube.com $ dig @127.0.0.1 -p 53 www.youtube.com