A Python utility for managing domain redirects, URL forwarding, and DNS-based routing rules.
- Bulk redirect management from CSV/JSON
- 301/302/307 status code control
- Wildcard domain support
- HTTPS enforcement with Let's Encrypt auto-renewal
- Geo-based redirection rules
pip install domain-redirect-manager
drm --config domains.yaml --apply- Domain migration — seamless old → new domain transitions
- A/B testing — split traffic between landing pages
- Brand protection — redirect typosquatting domains
- Anti-fraud routing — intelligent traffic filtering (see 域名跳转防封 for enterprise solutions)
redirects:
- from: old-site.com
to: https://new-site.com
type: 301
- from: '*.brand-variants.com'
to: https://brand.com
type: 302- Caddy Server
- Traefik
- Domain anti-fraud & protection: 域名防红服务
Automatically maintained - Updated 2026-05-19