mirror of
https://github.com/coredns/coredns.git
synced 2025-11-21 11:22:20 -05:00
plugin/etcd: Fix multi record TXT lookups (#5293)
* fix multi-record txt Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -221,12 +221,14 @@ If you query the zone name for `SRV` now, you will get the following response:
|
||||
If you would like to use `TXT` records, you can set the following:
|
||||
~~~
|
||||
% etcdctl put /skydns/local/skydns/x6 '{"ttl":60,"text":"this is a random text message."}'
|
||||
% etcdctl put /skydns/local/skydns/x7 '{"ttl":60,"text":"this is a another random text message."}'
|
||||
~~~
|
||||
|
||||
If you query the zone name for `TXT` now, you will get the following response:
|
||||
~~~ sh
|
||||
% dig +short skydns.local TXT @localhost
|
||||
"this is a random text message."
|
||||
"this is a another random text message."
|
||||
~~~
|
||||
|
||||
## See Also
|
||||
|
||||
Reference in New Issue
Block a user