rawdns

a direct, raw DNS interface to the Docker API

GPL-3.0 License

Stars
202
rawdns - 1.10 Latest Release

Published by tianon 9 months ago

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.
rawdns - 1.9

Published by tianon over 4 years ago

  • Go 1.13.10, Alpine 3.11
  • added mips64le support
  • dropped ppc64 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
rawdns - 1.8

Published by tianon almost 5 years ago

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
rawdns - 1.7

Published by tianon almost 7 years ago

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
rawdns - 1.6

Published by tianon almost 8 years ago

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
rawdns - 1.5

Published by tianon almost 8 years ago

docker 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
rawdns - 1.4

Published by tianon over 8 years ago

  • logo! (#12)
  • initial Docker Networks and IPv6 support (#14)
  • compile against Go 1.6
  • smaller binaries (~33% savings; ~9M down to ~6M)
  • Alpine-based image
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
rawdns - 1.3

Published by tianon almost 9 years ago

  • TLS & Swarm support (#7; thanks @tombee!)
  • compile against Go 1.5
  • compile binaries for more architectures (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
rawdns - 1.2

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
rawdns - 1.1

Published by tianon almost 10 years ago

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