Unsolved
This post is more than 5 years old
1 Rookie
•
8 Posts
0
2768
Change iDrac DNS through redfish API
Hello,
We working to configure iDrac7/8/9 with good IP parameters, throught the RedFish standard.
For the moment, it's OK for IP/Subnet/Gateway, but i cant find a valid PATH to configure the DNS (primary & alternative)
There is a way to do this ?
It's possible through the GUI & the racadm client.
But not find anything in Idrac API guide (i'm in the last version for Idrac7/8 or 9.
Thanks for your help.
DELL-Daniel My
Moderator
Moderator
•
6.2K Posts
0
July 20th, 2018 09:00
Hello
Check out the bottom of page 39 on this document. It has the DNS entry listed. There should also be a DNS2 attribute as well, but it is not listed on that page.
https://en.community.dell.com/techcenter/extras/m/white_papers/20443207/
Thanks
BrunoC92
1 Rookie
1 Rookie
•
8 Posts
0
July 23rd, 2018 00:00
Hello Daniel,
Thanks for the reply, but it doesnt work (in redfish mode at least).
I need to find a PATH to configure the DNS/Name servers on the iDrac himself.
For IP/Subnet/GW, i used actually this one :
'/redfish/v1/Managers/iDRAC.Embedded.1/EthernetInterfaces/iDRAC.Embedded.1%23NIC.1'
I need to find the same for DNS.
If you can help me.
Thanks !
DELL-Daniel My
Moderator
Moderator
•
6.2K Posts
0
July 23rd, 2018 09:00
The nameservers are listed on the page that you linked. I don't have a test environment set up for Redfish. If the DNS attributes cannot be defined directly using Redfish you may need to use the file upload method from the white paper.
DELL-Shine K
4 Operator
4 Operator
•
3K Posts
1
July 26th, 2018 23:00
On iDRAC9 you can perform PATCH on below URI to configure iDRAC DNS properties.
redfish/v1/Managers/iDRAC.Embedded.1/Attributes
Body should have below details
{ "Attributes" : {
"IPv4.1.DNS1": "1.2.3.4",
"IPv4.1.DNS2": "1.2.3.5",
"IPv4.1.DNSFromDHCP": "Disabled"
}}
Note : iDRAC 7/8 does not have the capability of changing DNS using redfish