command
module
Version:
v0.0.0-...-75cfc9b
Opens a new window with list of versions in this module.
Published: Mar 1, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
embedns
一个轻量型支持API动态更新的DNS Server(coredns+embed etcd)
example
- 启动服务
go run main.go
or
cd example && docker-compose up
- 写入A记录
etcdctl put /coredns/helloworld/x1 '{"host":"192.168.1.8","ttl":60}'
- 域名解析验证
❯ nslookup helloworld localhost
Server: localhost
Address: ::1#53
Name: helloworld
Address: 192.168.1.8
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.