Creating dynamic dns

Discussion in 'Installation/Configuration' started by h00s, Jun 14, 2007.

  1. h00s

    h00s New Member


    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.
  2. falko

    falko Super Moderator ISPConfig Developer

    Yes, that should work.
    But there's an easier method: you could get yourself an FQDN from and let your router update the DNS of this FQDN (most routers have built-in support), and then you make your own domain/subdomain a CNAME of the FQDN. That way you don't need to manually update your DNS records when the IP address changes.
  3. h00s

    h00s New Member

    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 :eek:

    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!

Share This Page