Detail: DNS problem: NXDOMAIN looking up A for

I am new to letsencrypt and the servers world.

My hostname is

when i run the command letsencrypt certonly --standalone and after i insert my domain name which is “” I got this following error.

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter ‘c’
to cancel):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. (http-01): urn:acme:error:dns :: DNS problem: NXDOMAIN looking up A for


what is the problem exactly? and how can i make sure that the hostname of my server is ?

Hi @Anes1994

you need a domain name. But that domain doesn't exist -

Host T IP-Address is auth. ∑ Queries ∑ Timeout Name Error yes 1 0 Name Error yes 1 0

Are you able to create a gitlab-Subdomain?

You need an A entry -> your ip address to use --standalone.

How can I get a domain name? and what do you mean by gitlab-Subdomain?

The domain you use is a gitlab-Subdomain.

Read some basics

You can only create a certificate if you are the domain- or subdomain - owner.

No i am not using a gitlab-subdomain, i just want to give it that name in a realtion with gitlab.
I am hosting gitlab under my proper server

You use a gitlab subdomain - is one.

Ah okay I understand that.
But now how can i get the requested domain, i mean “” ?

Ask Gitlab. I don't know if Gitlab offers such an option.

Okay thank you. I will check and get back here again if such a problem persists.

1 Like

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