Files
private-ai-platform/ansible/roles/dns/push_powerdns_configs_to_node
Hrankin, Aleksandr (contracted) f243f440c3 init
2026-02-19 11:34:13 +00:00
..
2026-02-19 11:34:13 +00:00
2026-02-19 11:34:13 +00:00
2026-02-19 11:34:13 +00:00

example dns path in Debian13

App → glibc resolver → /etc/resolv.conf (127.0.0.53) → systemd-resolved → 192.168.0.1 (Proxmox)

before role running

sudo systemctl disable --now systemd-resolved

sudo rm -f /etc/resolv.conf
echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" | sudo tee /etc/resolv.conf

docker compose down
docker compose up -d
# pdns-auth web/api через nginx
curl -i -H 'Host: auth.infra.hran' http://127.0.0.1/

# recursor web/api через nginx
curl -i -H 'Host: recursor.infra.hran' http://127.0.0.1/

# dnsdist web через nginx
curl -i -H 'Host: dnsdist.infra.hran' http://127.0.0.1/
curl -i -u 'admin:CHANGE_ME_DNSDIST_WEB_PASSWORD' -H 'Host: dnsdist.infra.hran' http://127.0.0.1/

# windows
C:\Windows\System32\drivers\etc\hosts

127.0.0.1 auth.infra.hran
127.0.0.1 recursor.infra.hran
127.0.0.1 dnsdist.infra.hran:8084

# check from browser
http://dnsdist.infra.hran:8080/
http://auth.infra.hran:8080/
http://recursor.infra.hran:8080/