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

推荐订阅源

G
Google Developers Blog
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
人人都是产品经理
人人都是产品经理
美团技术团队
Blog — PlanetScale
Blog — PlanetScale
S
SegmentFault 最新的问题
博客园 - 【当耐特】
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
量子位
罗磊的独立博客
月光博客
月光博客
N
Netflix TechBlog - Medium
大猫的无限游戏
大猫的无限游戏
博客园_首页
P
Proofpoint News Feed
Jina AI
Jina AI
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
腾讯CDC

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
}