Skip to content

Commit 98938a0

Browse files
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/[email protected]/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/ Co-authored-by: Anthony D'Atri <[email protected]> Signed-off-by: Zac Dover <[email protected]>
1 parent 2c16096 commit 98938a0

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)