Hi Robert,
Thank you for the help. We had previously refered the link:
https://docs.ceph.com/en/quincy/rados/configuration/mon-lookup-dns/
But we were not able to configure mon_dns_srv_name correctly.
We find the following link:
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html/c…
Which gives just a little more information about the DNS lookup.
After following the link, we updated the ceph.conf as follows:
```
[root@storagenode3 ~]# cat /etc/ceph/ceph.conf
[global]
ms bind ipv6 = true
ms bind ipv4 = false
mon initial members = storagenode1,storagenode2,storagenode3
osd pool default crush rule = -1
mon dns srv name = ceph-mon
fsid = ce479912-a277-45b6-87b1-203d3e43d776
public network = abcd:abcd:abcd::/64
cluster network = eff0:eff0:eff0::/64
[osd]
osd memory target = 4294967296
[client.rgw.storagenode3.rgw0]
host = storagenode3
keyring = /var/lib/ceph/radosgw/ceph-rgw.storagenode3.rgw0/keyring
log file = /var/log/ceph/ceph-rgw-storagenode3.rgw0.log
rgw frontends = beast endpoint=[abcd:abcd:abcd::23]:8080
rgw thread pool size = 512
[root@storagenode3 ~]#
```
We also updated the dns server as follows:
```
storagenode1.storage.com IN AAAA abcd:abcd:abcd::21
storagenode2.storage.com IN AAAA abcd:abcd:abcd::22
storagenode3.storage.com IN AAAA abcd:abcd:abcd::23
_ceph-mon._tcp.storage.com 60 IN SRV 10 60 6789
storagenode1.storage.com
_ceph-mon._tcp.storage.com 60 IN SRV 10 60 6789
storagenode2.storage.com
_ceph-mon._tcp.storage.com 60 IN SRV 10 60 6789
storagenode3.storage.com
_ceph-mon._tcp.storage.com 60 IN SRV 10 60 3300
storagenode1.storage.com
_ceph-mon._tcp.storage.com 60 IN SRV 10 60 3300
storagenode2.storage.com
_ceph-mon._tcp.storage.com 60 IN SRV 10 60 3300
storagenode3.storage.com
```
But when we run the command ceph -s, we get the following error:
```
[root@storagenode3 ~]# ceph -s
unable to get monitor info from DNS SRV with service name: ceph-mon
2023-02-02T15:18:14.098+0530 7f1313a58700 -1 failed for service _ceph-mon._tcp
2023-02-02T15:18:14.098+0530 7f1313a58700 -1 monclient: get_monmap_and_config cannot
identify monitors to contact
[errno 2] RADOS object not found (error connecting to the cluster)
[root@storagenode3 ~]#
```
Could you please help us to configure the server using mon_dns_srv_name correctly?
Thanks and Regards
Kushagra Gupta