a direct, raw DNS interface to the Docker API
GPL-3.0 License
riscv64
binaries (#28)randomize
setting to control random namespace behavior (#27)Full Changelog: https://github.com/tianon/rawdns/compare/1.9...1.10
docker run --detach \
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns:1.10
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
wget -O rawdns "https://github.com/tianon/rawdns/releases/download/1.10/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
# write config file
# add to systemd unit, run on demand, etc.
Published by tianon over 4 years ago
mips64le
supportppc64
support (not to be confused with ppc64le
)docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns:1.9
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
curl -o rawdns -fL "https://github.com/tianon/rawdns/releases/download/1.9/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
# or
wget -O rawdns "https://github.com/tianon/rawdns/releases/download/1.9/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon almost 5 years ago
NXDOMAIN
for missing containers (https://github.com/tianon/rawdns/pull/23)docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns:1.8
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
curl -o rawdns -fL "https://github.com/tianon/rawdns/releases/download/1.8/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
# or
wget -O rawdns "https://github.com/tianon/rawdns/releases/download/1.8/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon almost 7 years ago
github.com/miekg/dns
(especially for https://github.com/miekg/dns/pull/631 -- CVE-2017-15133)docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns:1.7
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
curl -o rawdns -fSL "https://github.com/tianon/rawdns/releases/download/1.7/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
# or
wget -O rawdns "https://github.com/tianon/rawdns/releases/download/1.7/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon almost 8 years ago
CNAME
handling to be more real-world (https://github.com/tianon/rawdns/pull/19)github.com/miekg/dns
docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns:1.6
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
curl -o rawdns -fSL "https://github.com/tianon/rawdns/releases/download/1.6/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
# or
wget -O rawdns "https://github.com/tianon/rawdns/releases/download/1.6/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon almost 8 years ago
SRV
records (https://github.com/tianon/rawdns/pull/17)s390x
as a release architecturedocker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns:1.5
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
curl -o rawdns -fSL "https://github.com/tianon/rawdns/releases/download/1.5/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
# or
wget -O rawdns "https://github.com/tianon/rawdns/releases/download/1.5/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon over 8 years ago
docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns:1.4
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
curl -o rawdns -fSL "https://github.com/tianon/rawdns/releases/download/1.4/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
# or
wget -O rawdns "https://github.com/tianon/rawdns/releases/download/1.4/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon almost 9 years ago
arm64
, ppc64
, ppc64el
)docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart always \
--name rawdns \
tianon/rawdns
dig @$(docker inspect -f '{{.NetworkSettings.IPAddress}}' rawdns) rawdns.docker
curl -o rawdns -sSL "https://github.com/tianon/rawdns/releases/download/1.3/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon over 9 years ago
docker run --restart always --name rawdns -d tianon/rawdns
curl -o rawdns -sSL "https://github.com/tianon/rawdns/releases/download/1.2/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns
Published by tianon almost 10 years ago
"type": "static"
(see https://github.com/tianon/rawdns/blob/a3481c8ae4a9e49e4dda70063c8b954e29de9708/hacks/apt-cacher-ng.md for one example use-case)docker run --restart always --name rawdns -d tianon/rawdns
curl -o rawdns -sSL "https://github.com/tianon/rawdns/releases/download/1.1/rawdns-$(dpkg --print-architecture)"
chmod +x rawdns