33800 Docs

← Retour

Task : Pi-hole + Split-DNS

Date : 12/01/2026 21:00 Duree : ~45 min Statut : TERMINE


Objectif

Deployer Pi-hole pour Split-DNS : les domaines *.33800.nowhere84.com resolvent vers IPs locales sur le reseau local.


Realisation

1. Deploiement Pi-hole

2. Configuration Split-DNS

Domaines locaux configures via pihole-FTL --config dns.hosts:

Domaine IP
*.33800.nowhere84.com 192.168.1.104 (nginx)

3. Upstream DNS

4. Tests

# Resolution locale
dig @192.168.1.12 gitlab.33800.nowhere84.com +short
# Resultat: 192.168.1.104 (local!)

# Resolution externe
dig @192.168.1.12 google.com +short
# Resultat: IP Google via Cloudflare

5. Integration Dashboard


Fichiers

Fichier Emplacement
docker-compose.yml /mnt/stock_8to/33800-stack/docker/stacks/pihole/
nginx config /etc/nginx/sites-available/pihole.conf
Pi-hole config /etc/pihole/pihole.toml (dans container)

Prochaine etape

Configurer la Freebox Ultra pour utiliser Pi-hole comme DNS :

  1. Freebox OS → Parametres → DHCP
  2. DNS primaire : 192.168.1.12
  3. DNS secondaire : 1.1.1.1 (fallback)

Notes