Hi! I have a computer running ISPConfig with public static ip-address. Also, I have a small intranet with one web server with dynamic ip-address. I'd like to make server with dynamic ip address as a subdomain on the computer with public ip-address, so a dynamic dns. I understand that I will have to make program which will update ip-address when it's changed but my question is, what exactly do I need update? Is it enough to add A record to /etc/bind/pri.<domain> file after the ;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;; line and then update that line when ip-address is changed? Is there something else that needs to be updated? This subdomain doesn't have to be visible in ISPConfig control panel in dns manager.
Yes, that should work. But there's an easier method: you could get yourself an FQDN from dyndns.org and let your router update the DNS of this FQDN (most routers have built-in dyndns.org support), and then you make your own domain/subdomain a CNAME of the dyndns.org FQDN. That way you don't need to manually update your DNS records when the IP address changes.
I have FQDN from dyndns and it works as you said, router automatically updates it when it's changed. But thing is, I didn't know the CNAME could be used for this I already set CNAME record and it works great. But, I will still try to make my own script for updating Danke schön Falko!