Skip to content

Commit 9d164d2

Browse files
authored
Merge pull request ceph#58368 from zdover23/wip-doc-2024-07-01-rados-config-mon-lookup-dns
doc/rados: document manually passing search domain Reviewed-by: Lander Duncan <[email protected]> Reviewed-by: Cole Mitchell <[email protected]>
2 parents ebfbbc4 + 98938a0 commit 9d164d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/rados/configuration/mon-lookup-dns.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ which is configured by the *mon_dns_srv_name* configuration directive.
2121

2222
.. confval:: mon_dns_srv_name
2323

24+
.. note:: Instead of using a DNS search domain, it is possible to manually
25+
designate the search domain by passing the search domain's name followed by
26+
an underscore to ``mon_dns_srv_name``. The syntax for this is
27+
``<service-name>_<upper-level-domain>``. For example, passing
28+
``ceph-mon_example.com`` will direct Ceph to look for the ``SRV`` record at
29+
``_ceph-mon._tcp.example.com``.
30+
2431
Example
2532
-------
2633
When the DNS search domain is set to *example.com* a DNS zone file might contain the following elements.

0 commit comments

Comments
 (0)