惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
G
GRAHAM CLULEY
S
Security @ Cisco Blogs
T
The Exploit Database - CXSecurity.com
I
Intezer
The Last Watchdog
The Last Watchdog
Project Zero
Project Zero
Simon Willison's Weblog
Simon Willison's Weblog
S
Secure Thoughts
Webroot Blog
Webroot Blog
F
Full Disclosure
L
Lohrmann on Cybersecurity
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
The Hacker News
The Hacker News
The Register - Security
The Register - Security
Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
V
Visual Studio Blog
H
Heimdal Security Blog
NISL@THU
NISL@THU
L
LINUX DO - 最新话题
Hugging Face - Blog
Hugging Face - Blog
TaoSecurity Blog
TaoSecurity Blog
S
Securelist
博客园 - 聂微东
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
MyScale Blog
MyScale Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
T
Tailwind CSS Blog
C
Cisco Blogs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Stack Overflow Blog
Stack Overflow Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
G
Google Developers Blog
C
CERT Recently Published Vulnerability Notes
aimingoo的专栏
aimingoo的专栏
D
DataBreaches.Net
H
Hackread – Cybersecurity News, Data Breaches, AI and More
罗磊的独立博客
SecWiki News
SecWiki News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
AWS News Blog
AWS News Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Engineering at Meta
Engineering at Meta
PCI Perspectives
PCI Perspectives
V
V2EX
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

Plugins on CoreDNS: DNS and Service Discovery

kubernetes log proxyproto rewrite forward clouddns errors grpc_server https https3 template auto geoip multisocket nomad dnstap import view ready etcd header loadbalance bind grpc file prometheus quic timeouts autopath dnssec tls bufsize k8s_external reload acl cache health trace tsig route53 dns64 transfer secondary loop minimal sign azure local any cancel debug erratic metadata nsid pprof hosts chaos whoami
root
2024-11-22 · via Plugins on CoreDNS: DNS and Service Discovery

Description

The default root is the current working directory of CoreDNS. The root plugin allows you to change this. A relative root path is relative to the current working directory. NOTE: The root directory is NOT currently supported by all plugins. Currently the following plugins respect the root plugin configuration:

  • file
  • tls
  • dnssec

This plugin can only be used once per Server Block.

Syntax

PATH is the directory to set as CoreDNS’ root.

Examples

Serve zone data (when the file plugin is used) from /etc/coredns/zones:

. {
    root /etc/coredns/zones
}

When you use the root and tls plugin together, your cert and key should also be placed in the root directory. The example below will look for /config/cert.pem and /config/key.pem

tls://example.com:853 {
    root /config
    tls cert.pem key.pem
    whoami
}

Bugs

NOTE: The root directory is NOT currently supported by all plugins. Currently the following plugins respect the root plugin configuration:

  • file
  • tls
  • dnssec