You need to run set command to set iDRAC DNS name and domain name. Below link have details on same [URL] [URL] Below are the command which you need to use racadm set iDRAC.NIC.DNSRacName  racadm set iDRAC.NIC.DNSDomainName 
Due to the 'HTTP/HTTPS FQDN Connection Failures On iDRAC9 firmware version 5.10.00.00'  issue, I'm looking to batch set DNS iDRAC Name and Static DNS Domain Name via remote racadm.  As we're on 6.xx now, group and object names have changed from previous major versions. I have been looking through the latest RACADM CLI guide I could find (Integrated Dell Remote Access Controller 9RACADM CLI Guide 2022 )Rev. A00 current as of Firmware 6.10.00.00, which lists 'changes from previous group / object names to new names', but itself has no documentation on any, requiring at a minimum cross referencing it with older documentation (as far as I could see).  The documentation even uses 'Legacy Names' (i.e. racresetcfg 'does not reset the cfgDNSRacName object.... which is now 'DNSRacName'). Cross referencing it with older documentation (iDRAC9 5.xx) shows that the property I am looking for is cfgStaticLanNetworking.cfgDNSStaticDomainName.   These groups/properties don't exist using get on 6.x, and those names do not appear in the list of 'Legacy Groups and Objects' that have new names.  How/where do I actually find the properties I am looking to modify (trial and error looking around using 'get' wasn't working, therefore I tried RTFM).First, any ideas on this?  Am I looking down the wrong path, is there different documentation that is relevant?
iDRAC9 6.x, racadm, groups and objects - setting DNS iDRAC Name and Static DNS 
Domain Name