From 97705b9c9a9c6b8093f61a7f5bfa16c63f0b3648 Mon Sep 17 00:00:00 2001 From: Xiaochen Wang Date: Mon, 8 Jul 2024 10:58:51 +0800 Subject: [PATCH] chores(dns/README.md): fixed types --- kong/dns/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kong/dns/README.md b/kong/dns/README.md index 61fa14132674..90126aebceb6 100644 --- a/kong/dns/README.md +++ b/kong/dns/README.md @@ -44,8 +44,8 @@ Performs a series of initialization operations: * the path of `hosts` file. * `resolv_conf`: (default: `/etc/resolv.conf`) * the path of `resolv.conf` file, it will be parsed and passed into the underlying `lua-resty-dns` library. -* `order`: (default: `{ "SRV", "A", "AAAA" }`) - * the order in which to resolve different record types, it's similar to the option `dns_order` in `kong.conf`. +* `family`: (default: `{ "SRV", "A", "AAAA" }`) + * the types of DNS records that the library should query, it is taken from `kong.conf` option `dns_family`. * options for the underlying `lua-resty-dns` library: * `retrans`: (default: `5`) * the total number of times of retransmitting the DNS request when receiving a DNS response times out according to the timeout setting. When trying to retransmit the query, the next nameserver according to the round-robin algorithm will be picked up.