The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to setup the Dynamic DNS on WHM server?

Discussion in 'Bind / DNS / Nameserver Issues' started by cwuser, Dec 29, 2012.

  1. cwuser

    cwuser Active Member

    Joined:
    Jun 29, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I have a licensed WHM linux server. Is there a way to setup the DDNS (Dynamic DNS) so I can have my local computer or video camera for remote access?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I believe you are referring to the following functionality:

    DDNS for ISP Users

    There are no native options in cPanel to support this. You would need to use a third-party provider to configure this or consult with a developer to implement a custom application to allow for this.

    Thank you.
     
  3. hgrg

    hgrg Well-Known Member

    Joined:
    Oct 4, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    what I'd do if I were you:
    I'd set up my router to handle notifications and updates to a ddns address.
    Then you can set up an apache proxy to load content from that ddns address.
    This way for an 'outsider' your content can be reached over a static ip..
    Also I'd consider some sort of caching solution :)
    --
    update:
    also you can of course set up bind locally getting your current ip and set up bind to receive updates from your home machine. you should also set a very low ttl then..
    up2 for example with:
    /http://linux.yyz.us/nsupdate/
     
    #3 hgrg, Jan 3, 2013
    Last edited: Jan 3, 2013
  4. WhiteDog

    WhiteDog Well-Known Member

    Joined:
    Feb 19, 2008
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    We as a cPanel host offer DDNS to our customers.
    That way they can set up e.g. home.theirdomain.com to point to their home IP.

    We do this in the following way:
    - We have DDNS Server(dynamic.ourdomain.com) that is compatible with DynDNS but also accessible by url. The system works with most router software that allow custom DDNS servers (Dlink, Tomato, Draytek) our by just using wget on a remote computer, NAS, ...
    - When a DDNS Request is received, we use the WHM API to edit the Zone of the customers domain where we modify the A record home.theirdomain.com to their home IP (with a TTL of 1).

    So basically all you need to do is create a script which can take the DDNS requests and update zone records on your DNS server.
     
Loading...

Share This Page