commit a3efd66775cda37db4f4b531fd9c0fa862dba953 Author: egutierrez Date: Mon Oct 6 00:54:47 2025 +0200 Add initial dnsmasq configuration and docker-compose setup diff --git a/dnsmasq.conf b/dnsmasq.conf new file mode 100644 index 0000000..c3f122d --- /dev/null +++ b/dnsmasq.conf @@ -0,0 +1,5 @@ +# Resuelve cualquier subdominio de misitio.local a 10.8.0.6 +address=/.misitio.local/10.8.0.6 + +# Reenvía todo lo demás a Cloudflare +server=1.1.1.1 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..670f1f8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +# docker-compose.yml +services: + dnsmasq: + image: jpillora/dnsmasq:latest + container_name: dnsmasq + ports: + - "53:53/udp" + - "53:53/tcp" + volumes: + - ./dnsmasq.conf:/etc/dnsmasq.conf:ro + restart: unless-stopped \ No newline at end of file