<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;">Hi list,</div><div style="margin:0;"><br></div><div style="margin:0;">I configured the DNS as below, found<span style="mso-spacerun:'yes';font-family:宋体;font-size:10.5000pt;
mso-font-kerning:1.0000pt;"><font face="Times New Roman" class=""></font></span> the Slurm could not find the IP of ctld.</div><div style="margin:0;"><p class="MsoNormal">add below to the file :/etc/named.conf </p><p class="15"><span style="font-family: 楷体; font-size: 10.5pt; background: rgb(255, 255, 0); line-height: 1em;"><font face="Arial">zone "slurmctld-source" IN {</font><o:p></o:p></span></p><p class="15"><span style="font-family: 楷体; font-size: 10.5pt; background: rgb(255, 255, 0); line-height: 1em;">        <font face="Arial">type master;</font><o:p></o:p></span></p><p class="15"><span style="font-family: 楷体; font-size: 10.5pt; background: rgb(255, 255, 0); line-height: 1em;">        <font face="Arial">file "slurmctld-source.zone";</font><o:p></o:p></span></p><p class="15"><span style="font-family: 楷体; font-size: 10.5pt; background: rgb(255, 255, 0); line-height: 1em;"><font face="Arial">};</font></span><span style="mso-spacerun:'yes';font-family:楷体;mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;mso-bidi-font-family:Arial;font-size:10.5000pt;
background:rgb(255,255,0);mso-highlight:rgb(255,255,0);"><o:p></o:p></span></p><p class="15"><span style="font-family: 楷体; font-size: 10.5pt; background: rgb(255, 255, 255);"><font face="Arial">and add below fil</font><font face="Arial">e </font></span><span style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255); font-family: Arial;">/var/named/slurmctld-source.zone</span><span style="background-color: rgb(255, 255, 255); font-size: 10.5pt;">:</span></span></p><p class="15"><span style="mso-spacerun:'yes';font-family:楷体;mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;mso-bidi-font-family:Arial;font-size:10.5000pt;
background:rgb(255,255,0);mso-highlight:rgb(255,255,0);"></span></p><p class="MsoNormal"><span style="font-size: 10pt; background-color: rgb(255, 245, 102);">$TTL 1D</span></p><p class="15"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">@       IN SOA   . . (<o:p></o:p></span></p><p class="15"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">                                        0       ; serial<o:p></o:p></span></p><p class="15"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">                                        1D      ; refresh<o:p></o:p></span></p><p class="15"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">                                        1H      ; retry<o:p></o:p></span></p><p class="15"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">                                        1W      ; expire<o:p></o:p></span></p><p class="15"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">                                        3H )    ; minimum<o:p></o:p></span></p><p class="15"><span style="line-height: 1em; background-color: rgb(255, 245, 102);"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">        NS      </span><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-family: 楷体; font-size: 10pt;"><font face="Arial">slurmctld-source</font></span><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">.<o:p></o:p></span></span></p><p class="15"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">ns      A       10.6.6.161<o:p></o:p></span></p><p class="15"><span style="font-size: 10pt; line-height: 1em; background-color: rgb(255, 245, 102);"> </span></p><p class="15"><span style="line-height: 1em; background-color: rgb(255, 245, 102);"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">_slurmctld._tcp 3600 IN SRV 10 0 6817 10.6.6.16</span><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-family: 楷体; font-size: 10pt;"><font face="Arial">2</font></span><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">.<o:p></o:p></span></span></p><p class="MsoNormal"><span style="line-height: 1em; background-color: rgb(255, 245, 102);"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 10pt;">               3600 IN SRV 0 0 6817 10.6.6.16</span><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-family: 楷体; font-size: 10pt;"><font face="Arial">1.</font></span></span></p><p class="MsoNormal"><span style="line-height: 1em; background-color: rgb(255, 245, 102);"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-family: 楷体; font-size: 10pt;"><font face="Arial"><br></font></span></span></p><p class="MsoNormal"><span style="line-height: 1em; background-color: rgb(255, 245, 102);"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-family: 楷体; font-size: 10pt;"><font face="Arial"><br></font></span></span></p><p class="MsoNormal"><span style="font-family: 楷体; font-size: 10pt; line-height: 1em; background-color: rgb(255, 255, 255);"><font face="Arial">The configuration can only use the below command :</font></span></p><p class="MsoNormal"><span style="line-height: 1em; background-color: rgb(255, 245, 102);"><span style="background-color: rgb(255, 245, 102); line-height: 1em; font-size: 13.3333px;">host -t SRV _slurmctld._tcp.slurmctld-source</span></span></p><p class="MsoNormal"><span style="font-size: 13.3333px;">in Slurm code, the logic like use below command to get ctld info, it failed:</span></p><p class="MsoNormal"><span style="font-size: 13.3333px; background-color: rgb(255, 245, 102);">host -t SRV _slurmctld._tcp</span></p><p class="MsoNormal"><br></p><p class="MsoNormal">how can I change the configuration to get Ctld info by using the short query info?</p><p class="MsoNormal"><br></p><p class="MsoNormal">Thanks.</p><p class="MsoNormal"><br></p></div></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span>