From 7582501b431cc5ae2fc50f447d1e6e5dbf30f5eb Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Mon, 1 Jul 2024 16:36:02 +1000 Subject: [PATCH] doc/rados: document manually passing search domain Document how to manually pass the search domain to "mon_dns_srv_name" in doc/rados/configuration/mon-lookup-dns.rst. This commit is made in response to a request by Lander Duncan that was made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/ Co-authored-by: Anthony D'Atri Signed-off-by: Zac Dover (cherry picked from commit 98938a0312dd0c8e0b293ed9aa2e0760cc9619fa) --- doc/rados/configuration/mon-lookup-dns.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/rados/configuration/mon-lookup-dns.rst b/doc/rados/configuration/mon-lookup-dns.rst index 129a083c437fb..0e2ee22e4155a 100644 --- a/doc/rados/configuration/mon-lookup-dns.rst +++ b/doc/rados/configuration/mon-lookup-dns.rst @@ -21,6 +21,13 @@ which is configured by the *mon_dns_srv_name* configuration directive. .. confval:: mon_dns_srv_name +.. note:: Instead of using a DNS search domain, it is possible to manually + designate the search domain by passing the search domain's name followed by + an underscore to ``mon_dns_srv_name``. The syntax for this is + ``_``. For example, passing + ``ceph-mon_example.com`` will direct Ceph to look for the ``SRV`` record at + ``_ceph-mon._tcp.example.com``. + Example ------- When the DNS search domain is set to *example.com* a DNS zone file might contain the following elements. -- 2.39.5