I'm wondering if there is an easy way to do what I'm trying to do, so far I have not figured out a way to do it.
I'm currently using an OpenVPN AS server, with iot devices connecting through the AS for VPN.
What I'm trying to do is to have the devices automatically register in DNS (DNSmasq on the OpenVPN AS server), instead of having to manually add every device on the server. These devices are running a version of Debian Linux.
Automatic DNS registration
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sat Aug 15, 2020 5:07 pm
Re: Automatic DNS registration
Is noip dot com service reasonable? using ubuntu to update the server ip address to the noip dns server
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Aug 06, 2020 3:21 pm
Re: Automatic DNS registration
The server IP? That's not the issue.
The issue I'm trying to solve is that each dynamically assigned VPN client from OpenVPN, needs to be able to be resolved by its FQDN hostname on the VPN network. The only way I've gotten this to work so far, is by installing DNSmasq on the OpenVPN AS server, and manually adding a DNS entry. This won't work because the IPs can change since they are dynamically assigned on connection, and changing to a static set up would make it hard to scale/keep track of the planned hundreds of IoT devices.
The issue I'm trying to solve is that each dynamically assigned VPN client from OpenVPN, needs to be able to be resolved by its FQDN hostname on the VPN network. The only way I've gotten this to work so far, is by installing DNSmasq on the OpenVPN AS server, and manually adding a DNS entry. This won't work because the IPs can change since they are dynamically assigned on connection, and changing to a static set up would make it hard to scale/keep track of the planned hundreds of IoT devices.