Issues in Configuring DNS Alias Record to Apex Domain

Discussion in 'Server Operation' started by Mohammed_Faizan, Aug 8, 2023.

  1. Mohammed_Faizan

    Mohammed_Faizan New Member

    Hello Folks,

    We have configured DNS record in ISPConfig with Alias record to the Apex domain but it not reflected to public.
    If it's possible? could you please help on this how to configure the Alias records to Apex domain.
    Refer the attached image below.
    Any help would be highly appreciated.
    Alias Record.png
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    BIND does not support ALIAS Records. When you create a record of type ALIAS, then a CNAME record gets created on BIND systems instead. So you have to check against CNAME records when you want to know if the record got created or not using a DNS query tool like dig.
     
  3. Mohammed_Faizan

    Mohammed_Faizan New Member

    Hello Till,
    Thanks for the response.
    The intent of creating the ALIAS record is to create a CNAME flattening for the apex domain and point it to Cloudflare CDN domain.
    Some articles mentioned, if your hosting provider does not support CNAME for apex domain, you can create ALIAS instead. Though, the ISPConfig control panel allows creating the record, it does not work as expected.
    Can you suggest, if there is any other alternate way to accomplish CNAME flattening, that is creating a CNAME for apex domain or the same effect using ALIAS, etc.,

    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig is a control panel, not a DNS server. ISPConfig supports alias records for DNS servers that support alias records. BIND DNS server, the most widely used DNS system worldwide and default DNS server on ISPConfig systems, does not support ALIAS records. For BIND servers, an alias is converted to CNAME due to the lack of support of ALIAS records in BIND.

    As mentioned BIND DNS server does not support alias records as an alias is a non-standard DNS record. Therefore you can not use alias records on systems that use BIND.

    See:

    https://serverfault.com/questions/828235/aname-alias-records-for-bind
    https://www.isc.org/blogs/cname-at-the-apex-of-a-zone/
     

Share This Page