npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lycolia/value-domain-dns-cert-register

v1.1.0

Published

Automatically add dns certificates for value-domain using on certbot manual mode

Downloads

43

Readme

Archived

本スクリプトはメンテナンスを停止しました。恐らくしばらくの間は動きますが利用は非推奨です。

このリポジトリで開発していたものはvalue-domain-dns-utilに引き継いでいますので、こちらをご利用ください。

Value-Domain DNS Cert Register

CertbotによるDNS-01 Challengeの結果をValue DomainのDNSレコードに登録するためのスクリプトです。

ワイルドカードドメインに対して使えるかどうかは確認してません。

参考動作環境

以下は目安であり、動作の保証をするものではありません。

インストール方法

npm i -g @lycolia/value-domain-dns-cert-register

使い方

1. ACMEアカウントの作成

certbot register

2. Value DomainのAPI KEYを取得

バリュードメインAPIより取得。

3. 本スクリプトの実行

<hoge>の様になってる箇所を適当に埋め、以下のコマンドを実行。

sudo certbot certonly --manual -n \
  --preferred-challenges dns \
  --agree-tos -m <your-email> \
  --manual-auth-hook "vddcr <root-domain> <value-domain-api-key>" \
  -d <target-domain>

上記コマンドの各項目の入力内容

| 項目名 | 入力内容 | | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | your-email | ACMEアカウントのメールアドレス | | root-domain | DNS設定の取得にある/domains/{domain}/dns{domain}の部分 | | value-domain-api-key | Value DomainのAPI KEY | | target-domain | 証明書を発行したいドメイン |

コマンドの入力例

sudo certbot certonly --manual -n \
  --preferred-challenges dns \
  --agree-tos -m [email protected] \
  --manual-auth-hook "vddcr example.com XXXXXXXXXXXXXXXXXXXXX" \
  -d sub.example.com

4. 定期実行

必要に応じてCRONなどに登録することで継続的に実行できます。

本スクリプトの実行方法

単体で実行することはないと思いますが一応。

基本的な使い方

vddcr <root-domain> <value-domain-api-key>として実行できます。

また実行時にCERTBOT_DOMAINCERTBOT_VALIDATIONの二つの環境変数が必要です。この環境変数の内容についてはcertbotのドキュメントを参照してください。

その他

vddcr -Vでバージョンが出ます。

既知の問題

  • Value Domainのコントロールパネルから設定した内容からコメントが消えたり、行の並びが変わったりする
    • Value DomainのAPIの仕様なのでどうにもならない
  • TTLが3600になる
    • Value DomainのAPIが3600を返してくるためどうにもならない。コントロールパネルの設定値は無視されている
  • ワイルドカードドメインを対象にしようとしても上手くいかない可能性がある
    • 個人的に需要がないので動作確認してないです

参考サイト

Value Domain

Certbot