From: Zac Dover Date: Mon, 1 Jul 2024 06:36:02 +0000 (+1000) Subject: doc/rados: document manually passing search domain X-Git-Tag: v18.2.5~563^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F58432%2Fhead;p=ceph.git 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) --- diff --git a/doc/rados/configuration/mon-lookup-dns.rst b/doc/rados/configuration/mon-lookup-dns.rst index 129a083c437f..0e2ee22e4155 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.