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

推荐订阅源

Know Your Adversary
Know Your Adversary
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
罗磊的独立博客
宝玉的分享
宝玉的分享
Vercel News
Vercel News
Martin Fowler
Martin Fowler
N
Netflix TechBlog - Medium
P
Proofpoint News Feed
T
Threatpost
Security Latest
Security Latest
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
I
Intezer
P
Privacy International News Feed
D
Docker
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
M
MIT News - Artificial intelligence
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
Lohrmann on Cybersecurity
Google DeepMind News
Google DeepMind News
The Last Watchdog
The Last Watchdog
A
Arctic Wolf
IT之家
IT之家
S
SegmentFault 最新的问题
S
Securelist
博客园 - 叶小钗
N
News and Events Feed by Topic
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
Hacker News: Ask HN
Hacker News: Ask HN
博客园 - Franky
GbyAI
GbyAI
AI
AI
Y
Y Combinator Blog
WordPress大学
WordPress大学
Latest news
Latest news
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
N
News | PayPal Newsroom
The Cloudflare Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
I
InfoQ

ens on CoreDNS: DNS and Service Discovery

暂无文章

ens
2019-09-13 · via ens on CoreDNS: DNS and Service Discovery

Description

The ens plugin serves DNS records from the Ethereum Name Service. Ethereum provides an authoritative source of DNS records for relevant domains, allowing authoritative data to be served by any nameserver without it having write-access to the DNS records themselves.

It is recommended that this comes after rewrite in the plugins.cfg file.

Syntax

ens {
  # connection is the connection to an Ethereum node.  It is *highly*
  # recommended that a local node is used, as remote connections can
  # cause DNS requests to time out.
  # This can be either a path to an IPC socket or a URL to a JSON-RPC
  # endpoint.
  connection CONNECTION

  # ethlinknameservers are the names of the nameservers that serve
  # EthLink domains.  This will usually be the name of this server,
  # plus potentially one or more others.
  ethlinknameservers SERVER...

  # ipfsgatewaya is the address of an ENS-enabled IPFS gateway.
  # This value is returned when a request for an A record of an Ethlink
  # domain is received and the domain has a contenthash record in ENS but
  # no A record.  Multiple values can be supplied, separated by a space,
  # in which case all records will be returned.
  ipfsgatewaya ADDRESS...

  # ipfsgatewayaaaa is the address of an ENS-enabled IPFS gateway.
  # This value is returned when a request for an AAAA record of an Ethlink
  # domain is received and the domain has a contenthash record in ENS but
  # no A record.  Multiple values can be supplied, separated by a space,
  # in which case all records will be returned.
  ipfsgatewayaaaa ADDRESS...
}

Examples

ens {
  connection /home/ethereum/.ethereum/geth.ipc
  ethlinknameservers ns1.ethdns.xyz ns2.ethdns.xyz
  ipfsgatewaya 176.9.154.81
  ipfsgatewayaaaa 2a01:4f8:160:4069::2
}