CNAME with TTL

Kalane Mendes 41 Reputation points
2020-08-03T14:39:10.037+00:00

Good Morning.
I'm trying to create a digital certificate for my email service. (mail.example.com) on sslforfree.com. I have to do it by DNS verification. In this case, the verification must be done by creating a CNAME in the external DNS. In CNAME I have to insert the following data: (not right ones)
1- Name: hrewdroehrgih.mail.example.com
2-**Point_To:** omrgovnoy...
3-TTL: 3600 (or less)
But when I try to create CNAME on dns windows server 2012 R2, I just can't because I don't see these fields.
What should I do ?

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,030 questions
0 comments No comments
{count} votes

Accepted answer
  1. Gloria Gu 3,896 Reputation points
    2020-08-04T03:08:53.417+00:00

    Hi,

    In regards to your issue, you can use Powershell to add CNAME RR in DNS server to set TTL. But you have to add a MX record must be created under domain name that you are using as the email address suffix.Secondly, you can create an CNAME record in the DNS server.

    Open Powershell> Run as administrator> Type the following commands:

    Add-DnsServerResourceRecordMX -Name “MX_NAME” -MailExchange “vglgum624VM.lab.com” -ZoneName “lab.com” -TimeToLive 10:10:10
    Add-DnsServerResourceRecordCName -Name "CNAME_NAME" -HostNameAlias "vglgum624VM.mail.lab.com" -ZoneName "lab.com" -TimeToLive 10:10:10

    I have tested in my environment and it works.
    15396-3.png15316-4.png
    For more details, you can refer to the following link:
    https://learn.microsoft.com/en-us/powershell/module/dnsserver/add-dnsserverresourcerecordcname?view=win10-ps
    https://www.mustbegeek.com/add-mx-record-in-windows-dns-server/#.XyjG9ygzaUk

    If my answer is helpful to you, please remember to mark them as answer. Thank you!

    Best regards,
    Gloria

    0 comments No comments

0 additional answers

Sort by: Most helpful