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:
Bastien Dronneau 2023-03-14 16:49:48 +01:00 committed by GitHub
parent 6bcb98ea71
commit 0ad653b5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 16 deletions

View File

@ -5,7 +5,7 @@ description: ->
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).
@ -43,14 +43,14 @@ Refer to the [prepared query reference](/consul/api-docs/query#create-prepared-q
"Tags": ["primary", "!experimental"],
"NodeMeta": {
"instance_type": "m3.large"
},
},
"ServiceMeta": {
"environment": "production"
}
},
}
},
"DNS": {
"TTL": "10s"
}
}
}
```