misconfigured provider?

23 views
Skip to first unread message

Tom Davidson

unread,
Sep 6, 2023, 1:16:51 AM9/6/23
to DNSControl-discuss
Apologies, im sure this is a newbie user error. Im attempting to validate my creds.json and to migrate existing zones.

❯ dnscontrol check-creds namecheap
provider type namecheap: cannot list zones to use the 'all' feature


and none of my domains appear to be using proper dns for they all of this output on get-zones:

❯ dnscontrol get-zones --format=js --out=draft.js namecheap - dut.co
failed GetZone gzr: Error 2030288: Cannot complete this command as this domain is not using proper DNS servers



my creds.json file appears to be correct:
{
    "namecheap": {
        "TYPE": "NAMECHEAP",
        "apikey": "",
        "apiuser": ""
    }
}

my dnsconfig.js  only contains:
var REG_NAMECHEAP = NewRegistrar("namecheap");
var DSP_NAMECHEAP = NewDnsProvider("namecheap");



Any ideas on what I am missing?

Thaks



Tom Limoncelli

unread,
Sep 6, 2023, 8:53:55 AM9/6/23
to Tom Davidson, DNSControl-discuss
Hi there!

I haven't used namecheap myself, but I googled the error message and found this discussion: https://github.com/acmesh-official/acme.sh/issues/2107

It seems that you can only query a domain if the nameserver delegation points to namecheap.  In the case of dut.co, it does not:

$ host -t ns dut.co

dut.co name server anna.ns.cloudflare.com.

dut.co name server donald.ns.cloudflare.com.


The good news is that your creds are correct, or namecheap wouldn't get that far. 

Maybe you need to use the Cloudflare provider to get-zone that domain?

hope that helps!
Tom
--
You received this message because you are subscribed to the Google Groups "DNSControl-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dnscontrol-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dnscontrol-discuss/5f028857-02cd-46bd-8988-6dda6cb91fa4n%40googlegroups.com.


--
Email: t...@whatexit.org    Work: tlimo...@StackOverflow.com
Blog:  http://EverythingSysadmin.com/

Tom Davidson

unread,
Sep 6, 2023, 2:52:50 PM9/6/23
to Tom Limoncelli, DNSControl-discuss
Thank you Tom, I think you're right - everything is just fine. The catch seems to be that the namecheap provider does not support listing all the zones.

provider type namecheap:- cannot list zones to use the 'all' feature


and that must be the cheap operation that check-creds tries to do:

dnscontrol check-creds namecheap  NAMECHEAP
provider type namecheap:NAMECHEAP cannot list zones to use the 'all' feature


Reply all
Reply to author
Forward
0 new messages