No description
  • Python 53.9%
  • HTML 38.4%
  • Nix 7.1%
  • Just 0.6%
Find a file
Steph 63f4b9ac5c
All checks were successful
Build and publish Nix Docker image / build-and-push (push) Successful in 5m59s
Add custom NSes per tld
2026-04-26 16:31:13 +02:00
.forgejo/workflows nix 2026-04-18 23:43:05 +02:00
src/aio_flask Add custom NSes per tld 2026-04-26 16:31:13 +02:00
.gitignore Yes 2026-04-18 22:16:02 +02:00
compose.yaml Yes 2026-04-18 22:16:02 +02:00
flake.lock Initial commit 2026-04-13 22:46:24 +02:00
flake.nix Refactor 2026-04-19 15:20:44 +02:00
image.png Update readme 2026-04-18 23:51:38 +02:00
Justfile Yes 2026-04-18 22:16:02 +02:00
pyproject.toml Initial commit 2026-04-13 22:46:24 +02:00
README.md Add custom NSes per tld 2026-04-26 16:31:13 +02:00

aio-flask

alt text

All-in-one container for hosting authoritative DNS with a web registrar UI.

Features

End user:

  • Create account
  • Request domain
  • Delegate domain to own nameservers
  • Edit zonefile to use build-in dns server

Registrar:

  • Add tlds
  • Approve domain requests
  • Change text

Example compose.yaml:

services:
	aio:
		image: code.steph.tools/steph/aio-registrar-dns:latest
		container_name: aio-registrar-dns
		restart: unless-stopped
		environment:
			HOST: 0.0.0.0
			PORT: 5000
			DB_PATH: /data/app.db
			SECRET_KEY: ${SECRET_KEY} # openssl rand -hex 32
			BOOTSTRAP_ADMIN_USERNAME: ${BOOTSTRAP_ADMIN_USERNAME:-admin}
			BOOTSTRAP_ADMIN_PASSWORD: ${BOOTSTRAP_ADMIN_PASSWORD:-admin}
		ports:
			- "80:5000"
			- "53:5300/tcp"
			- "53:5300/udp"
		volumes:
			- aio_data:/data

volumes:
	aio_data: