A Dynamic DNS integration for Home Assistant that supports multiple DNS providers:
- DuckDNS
- No-IP
- DNSimple
- Open HACS
- Go to "Integrations"
- Click the three dots menu in the top right
- Select "Custom repositories"
- Add
https://github.com/jdolieslager/homeassistant-dynamic-dns
- Select "Integration" as category
- Click "Add"
- Find and install "Dynamic DNS" in HACS
- Restart Home Assistant
- Copy the
custom_components/dynamic_dns
directory to your Home Assistant'scustom_components
directory - Restart Home Assistant
- Go to Settings -> Devices & Services
- Click "Add Integration"
- Search for "Dynamic DNS"
- Follow the configuration steps
- Requires: Domain and Token
- Updates your DuckDNS subdomain
- Requires: Username, Password, and Hostname
- Updates your No-IP hostname
- Requires: Account ID, Token, Zone, and Record Name
- Updates DNS records in your DNSimple zones
- Update Interval: How often to check and update DNS records (minimum 60 seconds)
- Service:
dynamic_dns.diagnostics
- Shows diagnostic information for all Dynamic DNS entries
- Docker (for containerized testing)
- Make (optional, for using Makefile commands)
- Python 3.11 or higher (for local development)
Using Docker (recommended):
make test-docker
Local testing:
# Install test dependencies
pip install -r requirements_test.txt
# Run tests
make test
make lint
make clean
make validate
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request