I’ve a server with Proxmox and a Virtual Machine with ubuntu 10.04 with installed Virtualmin that host my Virtual Server. The server is behind a NAT of a router. The net have an external dynamic ip address.
Now, to reach a virtual server I do this:
- Dyndns service enable to update changing external ip address
- Virtual Server IP External Address set to update automatically with dyndns service
- Apache Config Virtual Server address set manually to internal ip (192.168.10.51)
- DNS Bind record address (/var/lib/bind/mydomain.com.hosts) set manully to external IP address
THE PROBLEM is that every time my External IP address change I must update MANUALLY the new external ip address to DNS Bind record address in /var/lib/bind/mydomain.com.hosts
How can I automate correctly the process of IP Update? How can set correctly the address? Where am I wrong?