Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report bugs to zone.eu (zone.ee) dns api #2146

Open
tambetliiv opened this issue Mar 8, 2019 · 4 comments
Open

Report bugs to zone.eu (zone.ee) dns api #2146

tambetliiv opened this issue Mar 8, 2019 · 4 comments
Assignees
Labels
3rd party api report bugs to dns api, deploy hooks and notification hooks

Comments

@tambetliiv
Copy link
Contributor

This is the place to report bugs in the Zone.eu (zone.ee) DNS API.

If you experience a bug, please report it in this issue.

@Neilpang Neilpang added the 3rd party api report bugs to dns api, deploy hooks and notification hooks label Mar 14, 2019
@whysthatso
Copy link

whysthatso commented Jan 1, 2020

heya,
first of all: thanks for your work.

i'm trying to get a cert for router.tatari.platvorm.ee, but get an error 'invalid domain'
log attached.
the cert is used for name use only, the domain subdomain router.tatari is not set in zone.ee zonefile, however, i believe this is supposed to work anyway, right?

Jan  1 21:23:05 2020 daemon.info acme: Running ACME for router.tatari.platvorm.ee
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: acme: Running ACME for router.tatari.platvorm.ee
Wed Jan  1 21:23:05 2020 daemon.info acme: Using dns mode
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: acme: Using dns mode
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: logger: unrecognized option: issue
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: BusyBox v1.28.4 () multi-call binary.
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]:
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: Usage: logger [OPTIONS] [MESSAGE]
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]:
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: Write MESSAGE (or stdin) to syslog
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]:
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: 	-s	Log to stderr as well as the system log
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: 	-t TAG	Log using the specified tag (defaults to user name)
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: 	-p PRIO	Priority (numeric or facility.level pair)
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: Lets find script dir.
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: _SCRIPT_='/usr/lib/acme/acme.sh'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: _script='/usr/lib/acme/acme.sh'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: _script_home='/usr/lib/acme'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: Using config home:/etc/acme
Wed Jan  1 21:23:05 2020 daemon.info run-acme[25522]: https://github.com/Neilpang/acme.sh
Wed Jan  1 21:23:05 2020 daemon.info run-acme[25522]: v2.8.3
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: Running cmd: issue
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: _main_domain='router.tatari.platvorm.ee'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: _alt_domains='no'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: Using config home:/etc/acme
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: DOMAIN_PATH='/etc/acme/router.tatari.platvorm.ee'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: _init api for server: https://acme-v02.api.letsencrypt.org/directory
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: url='https://acme-v02.api.letsencrypt.org/directory'
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:23:05 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_NEW_AUTHZ
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: ACME_VERSION='2'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: _on_before_issue
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: _chk_main_domain='router.tatari.platvorm.ee'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: _chk_alt_domains
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: Le_LocalAddress
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: d='router.tatari.platvorm.ee'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: Check for domain='router.tatari.platvorm.ee'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: _currentRoot='dns_zone'
Wed Jan  1 21:23:06 2020 daemon.err run-acme[25522]: d
Wed Jan  1 21:23:07 2020 daemon.err run-acme[25522]: _saved_account_key_hash is not changed, skip register account.
Wed Jan  1 21:23:07 2020 daemon.err run-acme[25522]: Read key length:
Wed Jan  1 21:23:07 2020 daemon.info run-acme[25522]: Creating domain key
Wed Jan  1 21:23:07 2020 daemon.err run-acme[25522]: Using config home:/etc/acme
Wed Jan  1 21:23:07 2020 daemon.err run-acme[25522]: ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
Wed Jan  1 21:23:07 2020 daemon.err run-acme[25522]: Use length 4096
Wed Jan  1 21:23:07 2020 daemon.err run-acme[25522]: Using RSA: 4096
Wed Jan  1 21:23:54 2020 daemon.info run-acme[25522]: The domain key is here: /etc/acme/router.tatari.platvorm.ee/router.tatari.platvorm.ee.key
Wed Jan  1 21:23:54 2020 daemon.err run-acme[25522]: _createcsr
Wed Jan  1 21:23:55 2020 daemon.info run-acme[25522]: Single domain='router.tatari.platvorm.ee'
Wed Jan  1 21:23:56 2020 daemon.info run-acme[25522]: Getting domain auth token for each domain
Wed Jan  1 21:23:56 2020 daemon.err run-acme[25522]: d
Wed Jan  1 21:23:56 2020 daemon.err run-acme[25522]: url='https://acme-v02.api.letsencrypt.org/acme/new-order'
Wed Jan  1 21:23:56 2020 daemon.err run-acme[25522]: payload='{"identifiers": [{"type":"dns","value":"router.tatari.platvorm.ee"}]}'
Wed Jan  1 21:23:56 2020 daemon.err run-acme[25522]: RSA key
Wed Jan  1 21:23:56 2020 daemon.err run-acme[25522]: HEAD
Wed Jan  1 21:23:56 2020 daemon.err run-acme[25522]: _post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
Wed Jan  1 21:23:56 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g  -I  '
Wed Jan  1 21:23:57 2020 daemon.err run-acme[25522]: _ret='0'
Wed Jan  1 21:23:57 2020 daemon.err run-acme[25522]: POST
Wed Jan  1 21:23:57 2020 daemon.err run-acme[25522]: _post_url='https://acme-v02.api.letsencrypt.org/acme/new-order'
Wed Jan  1 21:23:57 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: _ret='0'
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: code='201'
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: Le_LinkOrder='https://acme-v02.api.letsencrypt.org/acme/order/74954500/1911966180'
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/74954500/1911966180'
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: url='https://acme-v02.api.letsencrypt.org/acme/authz-v3/2052123422'
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: payload
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: POST
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: _post_url='https://acme-v02.api.letsencrypt.org/acme/authz-v3/2052123422'
Wed Jan  1 21:23:58 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:23:59 2020 daemon.err run-acme[25522]: _ret='0'
Wed Jan  1 21:23:59 2020 daemon.err run-acme[25522]: code='200'
Wed Jan  1 21:23:59 2020 daemon.err run-acme[25522]: d='router.tatari.platvorm.ee'
Wed Jan  1 21:23:59 2020 daemon.info run-acme[25522]: Getting webroot for domain='router.tatari.platvorm.ee'
Wed Jan  1 21:23:59 2020 daemon.err run-acme[25522]: _w='dns_zone'
Wed Jan  1 21:23:59 2020 daemon.err run-acme[25522]: _currentRoot='dns_zone'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/2052123422/8y7Zhg","token":"zcHFXYi_gPaRGQXOp8b_ko9sFKZIQ3VKdQn2vq5CfYU"'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: token='zcHFXYi_gPaRGQXOp8b_ko9sFKZIQ3VKdQn2vq5CfYU'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/2052123422/8y7Zhg'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: keyauthorization='zcHFXYi_gPaRGQXOp8b_ko9sFKZIQ3VKdQn2vq5CfYU.wrSZcL2Lty7SfEE1H0WJU41RizeBgtK92YmBd7FW3mQ'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: dvlist='router.tatari.platvorm.ee#zcHFXYi_gPaRGQXOp8b_ko9sFKZIQ3VKdQn2vq5CfYU.wrSZcL2Lty7SfEE1H0WJU41RizeBgtK92YmBd7FW3mQ#https://acme-v02.api.letsencrypt.org/acme/chall-v3/2052123422/8y7Zhg#dns-01#dns_zone'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: d
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: vlist='router.tatari.platvorm.ee#zcHFXYi_gPaRGQXOp8b_ko9sFKZIQ3VKdQn2vq5CfYU.wrSZcL2Lty7SfEE1H0WJU41RizeBgtK92YmBd7FW3mQ#https://acme-v02.api.letsencrypt.org/acme/chall-v3/2052123422/8y7Zhg#dns-01#dns_zone,'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: d='router.tatari.platvorm.ee'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: _d_alias
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: txtdomain='_acme-challenge.router.tatari.platvorm.ee'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: txt='5f6KURwoGT_d2BsOw-d0cu-68mFAh1hCXsxspcpkXOg'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: d_api='/usr/lib/acme/dnsapi/dns_zone.sh'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: Found domain api file: /usr/lib/acme/dnsapi/dns_zone.sh
Wed Jan  1 21:24:00 2020 daemon.info run-acme[25522]: Adding txt value: 5f6KURwoGT_d2BsOw-d0cu-68mFAh1hCXsxspcpkXOg for domain:  _acme-challenge.router.tatari.platvorm.ee
Wed Jan  1 21:24:00 2020 daemon.info run-acme[25522]: Using zone.ee dns api
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: fulldomain='_acme-challenge.router.tatari.platvorm.ee'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: txtvalue='5f6KURwoGT_d2BsOw-d0cu-68mFAh1hCXsxspcpkXOg'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: First detect the root zone
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: h='router.tatari.platvorm.ee'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: dns/router.tatari.platvorm.ee/a
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/router.tatari.platvorm.ee/a'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: h='tatari.platvorm.ee'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: dns/tatari.platvorm.ee/a
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/tatari.platvorm.ee/a'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: h='platvorm.ee'
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: dns/platvorm.ee/a
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/platvorm.ee/a'
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: h='ee'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: dns/ee/a
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/ee/a'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: h
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: invalid domain
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: Error add txt for domain:_acme-challenge.router.tatari.platvorm.ee
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: _on_issue_err
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: Please add '--debug' or '--log' to check more details.
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/2052123422/8y7Zhg'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: payload='{}'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: POST
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/2052123422/8y7Zhg'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: _ret='0'
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: code='200'
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: Diagnosis versions:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: openssl:openssl
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: OpenSSL 1.0.2t  10 Sep 2019
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: apache:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: apache doesn't exists.
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: nginx:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: nginx doesn't exists.
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: socat:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: socat by Gerhard Rieger and contributors - see www.dest-unreach.org
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: Usage:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: socat [options] <bi-address> <bi-address>
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:    options:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -V     print version and feature information to stdout, and exit
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -h|-?  print a help text describing command line options and addresses
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -hh    like -h, plus a list of all common address option names
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -hhh   like -hh, plus a list of all available address option names
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -d     increase verbosity (use up to 4 times; 2 are recommended)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -D     analyze file descriptors before loop
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -ly[facility]  log to syslog, using facility (default is daemon)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -lf<logfile>   log to file
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -ls            log to stderr (default if no other log)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -lm[facility]  mixed log mode (stderr during initialization, then syslog)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -lp<progname>  set the program name used for logging
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -lu            use microseconds for logging timestamps
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -lh            add hostname to log messages
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -v     verbose data traffic, text
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -x     verbose data traffic, hexadecimal
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -b<size_t>     set data buffer size (8192)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -s     sloppy (continue on error)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -t<timeout>    wait seconds before closing second channel
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -T<timeout>    total inactivity timeout in seconds
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -u     unidirectional mode (left to right)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -U     unidirectional mode (right to left)
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -g     do not check option groups
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -L <lockfile>  try to obtain lock, or fail
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -W <lockfile>  try to obtain lock, or wait
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -4     prefer IPv4 if version is not explicitly specified
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       -6     prefer IPv6 if version is not explicitly specified
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:    bi-address:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       pipe[,<opts>]	groups=FD,FIFO
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       <single-address>!!<single-address>
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       <single-address>
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:    single-address:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       <address-head>[,<opts>]
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:    address-head:
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       abstract-client:<filename>	groups=FD,SOCKET,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       abstract-connect:<filename>	groups=FD,SOCKET,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       abstract-listen:<filename>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       abstract-recv:<filename>	groups=FD,SOCKET,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       abstract-recvfrom:<filename>	groups=FD,SOCKET,CHILD,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       abstract-sendto:<filename>	groups=FD,SOCKET,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       create:<filename>	groups=FD,REG,NAMED
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       exec:<command-line>	groups=FD,FIFO,SOCKET,EXEC,FORK,TERMIOS,PTY,PARENT,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       fd:<num>	groups=FD,FIFO,CHR,BLK,REG,SOCKET,TERMIOS,UNIX,IP4,IP6,UDP,TCP,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       gopen:<filename>	groups=FD,FIFO,CHR,BLK,REG,SOCKET,NAMED,OPEN,TERMIOS,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       interface:<interface>	groups=FD,SOCKET
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip-datagram:<host>:<protocol>	groups=FD,SOCKET,RANGE,IP4,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip-recv:<protocol>	groups=FD,SOCKET,RANGE,IP4,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip-recvfrom:<protocol>	groups=FD,SOCKET,CHILD,RANGE,IP4,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip-sendto:<host>:<protocol>	groups=FD,SOCKET,IP4,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip4-datagram:<host>:<protocol>	groups=FD,SOCKET,RANGE,IP4
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip4-recv:<protocol>	groups=FD,SOCKET,RANGE,IP4
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip4-recvfrom:<protocol>	groups=FD,SOCKET,CHILD,RANGE,IP4
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip4-sendto:<host>:<protocol>	groups=FD,SOCKET,IP4
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip6-datagram:<host>:<protocol>	groups=FD,SOCKET,RANGE,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip6-recv:<protocol>	groups=FD,SOCKET,RANGE,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip6-recvfrom:<protocol>	groups=FD,SOCKET,CHILD,RANGE,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       ip6-sendto:<host>:<protocol>	groups=FD,SOCKET,IP6
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       open:<filename>	groups=FD,FIFO,CHR,BLK,REG,NAMED,OPEN,TERMIOS
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       pipe:<filename>	groups=FD,FIFO,NAMED,OPEN
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       proxy:<proxy-server>:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP4,IP6,TCP,HTTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       pty	groups=FD,NAMED,TERMIOS,PTY
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       sctp-connect:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP4,IP6,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       sctp-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE,IP4,IP6,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       sctp4-connect:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP4,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       sctp4-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE,IP4,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       sctp6-connect:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP6,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       sctp6-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE,IP6,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socket-connect:<domain>:<protocol>:<remote-address>	groups=FD,SOCKET,CHILD,RETRY
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socket-datagram:<domain>:<type>:<protocol>:<remote-address>	groups=FD,SOCKET,RANGE
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socket-listen:<domain>:<protocol>:<local-address>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socket-recv:<domain>:<type>:<protocol>:<local-address>	groups=FD,SOCKET,RANGE
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socket-recvfrom:<domain>:<type>:<protocol>:<local-address>	groups=FD,SOCKET,CHILD,RANGE
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socket-sendto:<domain>:<type>:<protocol>:<remote-address>	groups=FD,SOCKET
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socks4:<socks-server>:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP4,IP6,TCP,SOCKS4
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       socks4a:<socks-server>:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP4,IP6,TCP,SOCKS4
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       stderr	groups=FD,FIFO,CHR,BLK,REG,SOCKET,TERMIOS,UNIX,IP4,IP6,UDP,TCP,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       stdin	groups=FD,FIFO,CHR,BLK,REG,SOCKET,TERMIOS,UNIX,IP4,IP6,UDP,TCP,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       stdio	groups=FD,FIFO,CHR,BLK,REG,SOCKET,TERMIOS,UNIX,IP4,IP6,UDP,TCP,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       stdout	groups=FD,FIFO,CHR,BLK,REG,SOCKET,TERMIOS,UNIX,IP4,IP6,UDP,TCP,SCTP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       system:<shell-command>	groups=FD,FIFO,SOCKET,EXEC,FORK,TERMIOS,PTY,PARENT,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       tcp-connect:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP4,IP6,TCP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       tcp-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE,IP4,IP6,TCP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       tcp4-connect:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP4,TCP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       tcp4-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE,IP4,TCP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       tcp6-connect:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP6,TCP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       tcp6-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE,IP6,TCP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       tun[:<ip-addr>/<bits>]	groups=FD,CHR,NAMED,OPEN,INTERFACE
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp-connect:<host>:<port>	groups=FD,SOCKET,IP4,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp-datagram:<host>:<port>	groups=FD,SOCKET,RANGE,IP4,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RANGE,IP4,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp-recv:<port>	groups=FD,SOCKET,RANGE,IP4,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp-recvfrom:<port>	groups=FD,SOCKET,CHILD,RANGE,IP4,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp-sendto:<host>:<port>	groups=FD,SOCKET,IP4,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp4-connect:<host>:<port>	groups=FD,SOCKET,IP4,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp4-datagram:<remote-address>:<port>	groups=FD,SOCKET,RANGE,IP4,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp4-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RANGE,IP4,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp4-recv:<port>	groups=FD,SOCKET,RANGE,IP4,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp4-recvfrom:<host>:<port>	groups=FD,SOCKET,CHILD,RANGE,IP4,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp4-sendto:<host>:<port>	groups=FD,SOCKET,IP4,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp6-connect:<host>:<port>	groups=FD,SOCKET,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp6-datagram:<host>:<port>	groups=FD,SOCKET,RANGE,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp6-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RANGE,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp6-recv:<port>	groups=FD,SOCKET,RANGE,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp6-recvfrom:<port>	groups=FD,SOCKET,CHILD,RANGE,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       udp6-sendto:<host>:<port>	groups=FD,SOCKET,IP6,UDP
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       unix-client:<filename>	groups=FD,SOCKET,NAMED,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       unix-connect:<filename>	groups=FD,SOCKET,NAMED,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       unix-listen:<filename>	groups=FD,SOCKET,NAMED,LISTEN,CHILD,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       unix-recv:<filename>	groups=FD,SOCKET,NAMED,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       unix-recvfrom:<filename>	groups=FD,SOCKET,NAMED,CHILD,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]:       unix-sendto:<filename>	groups=FD,SOCKET,NAMED,RETRY,UNIX
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: pid
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: No need to restore nginx, skip.
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: _clearupdns
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: dns_entries
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: skip dns.
Wed Jan  1 21:24:03 2020 daemon.err acme: Issuing cert for router.tatari.platvorm.ee failed. Moving state to /etc/acme/router.tatari.platvorm.ee.failed-1577906643
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: acme: Issuing cert for router.tatari.platvorm.ee failed. Moving state to /etc/acme/router.tatari.platvorm.ee.failed-1577906643
Wed Jan  1 21:24:03 2020 daemon.info acme: Running post checks (cleanup).
Wed Jan  1 21:24:03 2020 daemon.err run-acme[25522]: acme: Running post checks (cleanup).

@tambetliiv
Copy link
Contributor Author

Yes that is correct. router.tatari.platvorm.ee is not required to be set in zone config.

https://github.com/Neilpang/acme.sh/blob/ef15e55947f0df966822cdbede6a1bd572970eb6/dnsapi/dns_zone.sh#L130 is the function that finds out root domain (domain that has config file).

It checks by using requested domain and then removed one subdomain after another until some A record is found.

Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: First detect the root zone
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: h='router.tatari.platvorm.ee'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: dns/router.tatari.platvorm.ee/a
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/router.tatari.platvorm.ee/a'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: h='tatari.platvorm.ee'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: dns/tatari.platvorm.ee/a
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/tatari.platvorm.ee/a'
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:00 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: h='platvorm.ee'
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: dns/platvorm.ee/a
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/platvorm.ee/a'
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:01 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: h='ee'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: dns/ee/a
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: GET
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: url='https://api.zone.eu/v2/dns/ee/a'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: timeout=
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: _CURL='curl -L --silent --dump-header /etc/acme/http.header  -g '
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: ret='0'
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: h
Wed Jan  1 21:24:02 2020 daemon.err run-acme[25522]: invalid domain

So please check if you have A record set for router.tatari.platvorm.ee, tatari.platvorm.ee or platvorm.ee and your API key has permissions to read those.

@whysthatso
Copy link

ah, very well. turns out i failed to properly research the set up, and the name server in use is actually provided digital ocean...
i wonder if i missed the a record requirement in the documentation, or if it might have not been explicit enough that it is necessary in order to be able to identify the presence of a registered domain. maybe it would make sense to point this out in the code comments or readme.

thanks for looking over this.

@tambetliiv
Copy link
Contributor Author

submitted PR to not use A record check anymore #2662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party api report bugs to dns api, deploy hooks and notification hooks
Projects
None yet
Development

No branches or pull requests

3 participants