Look up and set traffic route IPs based on domains for clients not using the UniFi DNS
Go to file
Ian Fijolek 95bc1528ec
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Fix for newer aiounifi
2024-09-19 15:58:13 -07:00
.drone.yml Switch to older plugin because this seems to work on Drone 2023-11-20 09:49:28 -08:00
.gitignore Initial commit 2023-11-19 23:32:15 +00:00
Dockerfile Add the good stuff 2023-11-20 09:31:58 -08:00
LICENSE Initial commit 2023-11-19 23:32:15 +00:00
main.py Fix for newer aiounifi 2024-09-19 15:58:13 -07:00
README.md Add the good stuff 2023-11-20 09:31:58 -08:00
requirements.txt Upgrade aiounifi 2024-08-27 15:24:13 -07:00

unfifi-traffic-routes-domain-ip

Look up and set traffic route IPs based on domains for clients not using the UniFi DNS

Configuration

Set the following as environment variables

Variable Description Default
UNIFI_HOST Unifi network hostname 192.168.1.1
UNIFI_PORT Unifi network port number 443
UNIFI_USER Unifi username
UNIFI_PASS Unifi pass

The user must have access to Manage the Network application to update the Traffic Routes.