This custom integration for Home Assistant allows you to automatically update your OVH DNS records with your current IPv6 address using OVH's DynHost service.
- Automatic IPv6 address detection using Home Assistant's network API
- Periodic DNS record updates (every 15 minutes)
- Easy configuration through the Home Assistant UI
- Uses OVH's official DynHost service
- Supports AAAA (IPv6) records
- An OVH account with a registered domain
- DynHost enabled for your domain
- A DynHost username and password
- The hostname you want to update
- A working IPv6 connection
- Open HACS in your Home Assistant instance
- Click on "Integrations"
- Click the three dots in the top right corner
- Select "Custom repositories"
- Add this repository URL:
https://github.com/Elijaht-dev/ovh_ipv6 - Select category: "Integration"
- Click "Add"
- Find "OVH IPv6 DynHost" in the integration list and install it
- Download the latest release from the repository
- Copy the
custom_components/ovh_ipv6folder to your Home Assistant'scustom_componentsdirectory - Restart Home Assistant
- Log into your OVH Control Panel
- Navigate to your domain's DNS zone
- Click on the "DynHost" tab
- Create a new DynHost user by clicking "Manage access" and "Create an identifier"
- Note down the username and password
- Add a new DynHost record for the hostname you want to update
- In Home Assistant, go to Configuration > Integrations
- Click the "+ ADD INTEGRATION" button
- Search for "OVH IPv6 DynHost"
- Enter your:
- DynHost Username
- DynHost Password
- Hostname to update (e.g., "dynamic.example.com")
The integration will automatically:
- Detect your non-link-local IPv6 address
- Update your DynHost record every 15 minutes
- Retry on connection failures
- Invalid authentication credentials: Double-check your DynHost username and password
- Cannot connect: Verify your internet connection and that the DynHost service is accessible
- No IPv6 address detected: The integration searches for a non-link-local IPv6 address on all enabled network adapters. Ensure:
- Your network has IPv6 connectivity
- Your Home Assistant instance has a public IPv6 address
- The network adapter is enabled and properly configured
To view the integration's logs, add this to your configuration.yaml:
logger:
default: info
logs:
custom_components.ovh_ipv6: debugFeel free to contribute to this project by:
- Reporting issues
- Suggesting new features
- Creating pull requests
This project is licensed under the Apache License, Version 2.0 (the "License") - see the LICENSE file for details.