Website
This website is built using Docusaurus 2, a modern static website generator.
master branch is published automatically to https://kb-dns.pages.dev/.
How to contribute
You can help by contributing to the Knowledge Base, all details are in this article.
How to develop
Prepare
First of all, you need to install the following:
Second, clone this repo to your local computer:git clone [email protected]:AdguardTeam/KnowledgeBaseDNS.git
Then you should open Terminal on your computer and navigate to the directory where you cloned this repo and run this command to install the local dependencies:
[!NOTE]
For version 11 and above ofpnpm, you may need to usepnpm approve-builds.
pnpm install
Lint markdown
This command lints the markdown and outputs any errors to the console:
pnpm lint:md
pnpm lint:md --fix
Run it locally
pnpm start
How to build
pnpm build
build directory and can be served using any static contents hosting service.
How to translate
Translations are not pushed to the repo and prepared on-the-fly (i18n folder is added to .gitignore).
Here’s how you can debug translations locally.
- Download translations:
CROWDIN_PERSONAL_TOKEN="YOURTOKEN" pnpm run crowdin download - Run Docusaurus with the language of your choice:
pnpm run start -- --locale de
How to generate DNS stamps
If you’d like to update the list of known DNS Providers, you’ll need to know how to create and check DNS stamps. Read the brief tutorial below to learn how to do it.
For DNS-over-HTTPS
- Go to Online DNS Stamp calculator
- Choose DNS-over-HTTPS from the drop-down menu
- Fill out the Host name and Path fields of the form
- Copy the ready DNS stamp from the Stamp field
For DNS-over-TLS
- Go to Online DNS Stamp calculator
- Choose DNS-over-TLS from the drop-down menu
- Fill out the Host name field
- Copy the ready DNS stamp from the Stamp field
For DNS-over-QUIC
- Go to Online DNS Stamp calculator
- Choose DNS-over-QUIC from the drop-down menu
- Fill out the Host name field
- Copy the ready DNS stamp from the Stamp field
For Plain DNS
- Go to Online DNS Stamp calculator
- Choose Plain DNS from the drop-down menu
- Fill out the IP address field
- Copy the ready DNS stamp from the Stamp field
How to check DNS stamps
- Install dnslookup using Homebrew or from source
- Run a command. Examples of commands for different protocols are given on this page