# Change to ChallengeName type dns-01

**URL:** <https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940>\
**Category:** Help\
**Created:** [March 16, 2022, 4:50pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940 "2022-03-16T16:50:56Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ederantonyo](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/ederantonyo/32/59257_2.png) [@ederantonyo](https://community.letsencrypt.org/u/ederantonyo)\
**Post date:** [March 16, 2022, 4:50pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/1 "2022-03-16T16:50:56Z")

</div>

Hello, I am new to this, could you guide me where I can find documentation to change to DNS-01 challenge

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [March 16, 2022, 4:52pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/2 "2022-03-16T16:52:46Z")

</div>

That depends on what your ACME client is and who your DNS provider is.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [March 16, 2022, 5:01pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/3 "2022-03-16T17:01:40Z")

</div>

As @9peppe already said, "it depends". And because it depends on many factors, it's impossible to provide a single "works for all" how-to/documentation.

Please provide more info to answer your question.

---

<div class="post-metadata">

**Author:** ![ederantonyo](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/ederantonyo/32/59257_2.png) [@ederantonyo](https://community.letsencrypt.org/u/ederantonyo)\
**Post date:** [March 16, 2022, 5:28pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/4 "2022-03-16T17:28:01Z")

</div>

well my dns provider is Hostgator my acme client if i'm not mistaken is in Http-01 we want to change to dns-01 because we are implementing dns failover

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [March 16, 2022, 5:40pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/5 "2022-03-16T17:40:48Z")

</div>

> [@ederantonyo](#):
>
> my acme client if i'm not mistaken is in Http-01

We're interested in _which_ ACME client you're using. There are [MANY](https://letsencrypt.org/docs/client-options/) different ACME clients out there. Please also provide the version of the ACME client and your setup in the most details possible.

Perhaps also worth exploring is _why_ you'd like to change from the `http-01` challenge to the `dns-01` challenge.

Also, is Hostgator also your hosting provider? I.e., for the site itself?

---

<div class="post-metadata">

**Author:** ![ederantonyo](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/ederantonyo/32/59257_2.png) [@ederantonyo](https://community.letsencrypt.org/u/ederantonyo)\
**Post date:** [March 16, 2022, 6:18pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/6 "2022-03-16T18:18:22Z")

</div>

> [@Osiris](#):
>
> http-01

In advance thank you very much for your answers, that's right Hostgator is my hosting provider and as for the change to dns-01 it is because when implementing dns failover it does not allow http-01 It does not accept redirects to IP addresses and with respect to the acme client I will investigate more, check in the cpanel and the current The default key type for SSL/TLS certificates and CSRs comes

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [March 16, 2022, 6:24pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/7 "2022-03-16T18:24:06Z")

</div>

I didn't understand a word.

As long as your webserver answers and can serve the proper challenge file, you can use http-01.

Why would DNS failover break your redirects, I don't know. DNS and http are very different things.

---

<div class="post-metadata">

**Author:** ![ederantonyo](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/ederantonyo/32/59257_2.png) [@ederantonyo](https://community.letsencrypt.org/u/ederantonyo)\
**Post date:** [March 16, 2022, 7:01pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/8 "2022-03-16T19:01:00Z")

</div>

I understand the truth, I am not at all familiar with this, an apology, but the idea is to make said configuration in dns-01, I see that I must use an acme client which will allow me to make said configuration, right

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [March 16, 2022, 7:05pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/9 "2022-03-16T19:05:31Z")

</div>

Yes. If you want to use dns-01 validation we need to know at least two things:

1. What software you use to get your certificates (the ACME client, ACME = Automated Certificate Management Environment)
2. Who is hosting your authoritative nameservers, and, if you are hosting those yourself, what software you're using to do so.

---

<div class="post-metadata">

**Author:** ![ederantonyo](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/ederantonyo/32/59257_2.png) [@ederantonyo](https://community.letsencrypt.org/u/ederantonyo)\
**Post date:** [March 16, 2022, 7:26pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/10 "2022-03-16T19:26:14Z")

</div>

I will use certbot as an acme client and hostgator is my hosting provider and domain there I have my cpanel

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [March 16, 2022, 8:33pm UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/11 "2022-03-16T20:33:45Z")

</div>

Ok, now tell us: do you have access to a root shell on your server?

Do you know how to obtain API access to your DNS records, and do you know if there is a certbot plugin to use said API?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [March 17, 2022, 3:02am UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/12 "2022-03-17T03:02:32Z")

</div>

> [@ederantonyo](#):
>
> cpanel

and

> [@ederantonyo](#):
>
> dns-01

Might be a difficult combination.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [April 16, 2022, 3:03am UTC](https://community.letsencrypt.org/t/change-to-challengename-type-dns-01/173940/13 "2022-04-16T03:03:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
