Local domain ssl


Is it possible configure ssl connection using local DNS server (may be without http-01 or other challenge)?
I get error:

level=error msg="Error getting ACME certificates [localdomain.com] : cannot obtain certificates: acme: Error -> One or more domains had a problem:\n[localdomain.com] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for localdomain.com, url: \n"

Also I have wildcard certificate for *.localdomain.com but I need let's encript certificates for *.subdomain.localdomain.com

Thank you.