[slurm-users] configless in Slurm, can not find the ip of ctld

刘文晓 wenxiaoll at 126.com
Mon Apr 19 08:41:29 UTC 2021

Hi list,

I configured the DNS as below, found the Slurm could not find the IP of ctld.

add below to the file :/etc/named.conf 

zone "slurmctld-source" IN {

        type master;

        file "slurmctld-source.zone";


and add below file /var/named/slurmctld-source.zone:


@       IN SOA   . . (

                                        0       ; serial

                                        1D      ; refresh

                                        1H      ; retry

                                        1W      ; expire

                                        3H )    ; minimum

        NS      slurmctld-source.

ns      A


_slurmctld._tcp 3600 IN SRV 10 0 6817

               3600 IN SRV 0 0 6817

The configuration can only use the below command :

host -t SRV _slurmctld._tcp.slurmctld-source

in Slurm code, the logic like use below command to get ctld info, it failed:

host -t SRV _slurmctld._tcp

how can I change the configuration to get Ctld info by using the short query info?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210419/5012a08f/attachment-0001.htm>

More information about the slurm-users mailing list