ISPConfig3 and sftdyn implementation

Discussion in 'Feature Requests' started by Esteka IT Solutions, Dec 10, 2018.

  1. Esteka IT Solutions

    Esteka IT Solutions New Member

    Hello,
    I have implemented sftdyn (https://github.com/SFTtech/sftdyn) in my server and I'd like to update ISPConfig's DNS whenever sftdyn service changes a computer IP remotely. How should I hook this feature to ISPConfig ?

    SFTDYN is a DynDNS like, open source service.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig remote API is probably the way to go. See examples in remote_client folder of ISPConfig tar.gz file.
     
  3. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Another solution that I would propose if you're up for the task is to implement DNAME records in ISPConfig, so the functionality is available for all, and for other use cases. If unfamiliar, they are a pseudo record type similar to a CNAME, where a hostname (like your client website name) points to another name (such as your sftdyn hostname) and the DNS server infrastructure performs periodic DNS lookups for the latter name and updates DNS A records for the former name when the address changes.

    DNAME is nice because it can work for the domain name itself, where CNAMEs usually can't be used, and has other uses (iirc, one more of cloudflare domain authentication was very simple with DNAME records).
     
    till likes this.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Nice, did not hear of DNAME records before :) I'll add a feature request for adding them.
     
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Following up on this, I made a mistake in calling these a DNAME record, that is something else (somewhat related, but different) - the correct term is ANAME.

    I thought these were completely a non-standard and custom feature of various dns providers (and that is probably true), but it looks like there was at least one internet-draft specifying how these would be handled right in dns servers (https://tools.ietf.org/id/draft-ietf-dnsop-aname-01.html). Neither BIND nor PowerDNS appear to support ANAME; it looks like PowerDNS does support ALIAS in newer versions.

    If ANAME were to be implemented in ISPConfig, https://www.quora.com/How-do-ANAME-records-work is interesting (particularly David Lawrence's comment, noting their refresh time for lookup is based on dns record expiration time).
     
  6. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    From my reading ANAME was still a draft or idea until it is abandoned (I think); so unless it becomes a standard, one should just use CNAME for the time being.
     

Share This Page