mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 02:48:19 +00:00
Docs discovery typo (#16628)
* docs(discovery): typo * docs(discovery): EOF and trim lines --------- Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
This commit is contained in:
parent
9d21736e9f
commit
a915d0ca87
@ -5,7 +5,7 @@ description: ->
|
|||||||
Learn how to dynamically query the Consul DNS using prepared queries, which enable robust service and node lookups.
|
Learn how to dynamically query the Consul DNS using prepared queries, which enable robust service and node lookups.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Enable dynamic DNS aueries
|
# Enable dynamic DNS queries
|
||||||
|
|
||||||
This topic describes how to dynamically query the Consul catalog using prepared queries. Prepared queries are configurations that enable you to register a complex service query and execute it on demand. For information about how to perform standard node and service lookups, refer to [Perform Static DNS Queries](/consul/docs/services/discovery/dns-static-lookups).
|
This topic describes how to dynamically query the Consul catalog using prepared queries. Prepared queries are configurations that enable you to register a complex service query and execute it on demand. For information about how to perform standard node and service lookups, refer to [Perform Static DNS Queries](/consul/docs/services/discovery/dns-static-lookups).
|
||||||
|
|
||||||
@ -43,14 +43,14 @@ Refer to the [prepared query reference](/consul/api-docs/query#create-prepared-q
|
|||||||
"Tags": ["primary", "!experimental"],
|
"Tags": ["primary", "!experimental"],
|
||||||
"NodeMeta": {
|
"NodeMeta": {
|
||||||
"instance_type": "m3.large"
|
"instance_type": "m3.large"
|
||||||
},
|
},
|
||||||
"ServiceMeta": {
|
"ServiceMeta": {
|
||||||
"environment": "production"
|
"environment": "production"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"DNS": {
|
"DNS": {
|
||||||
"TTL": "10s"
|
"TTL": "10s"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user