- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- IPv4 DNS not updating from redfish api for HP iLO5
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2021 08:42 AM - edited 03-25-2021 08:43 AM
03-25-2021 08:42 AM - edited 03-25-2021 08:43 AM
IPv4 DNS not updating from redfish api for HP iLO5
I'm using the redfish api to update the primary and secondary DNS for iLO5, the api call returns a 200 and Success OK message but on the IPv4 tab in iLO Dedicated Network Port - IPv4 Settings it is not updating. I'm unalbe to configure anything else from api as this is not working.
Details:
api url:https://{{ hpilo_ip }}/redfish/v1/systems/1/bios/settings
payload:{"Ipv4PrimaryDNS": "{{ dns1 }}", "Ipv4SecondaryDNS": "{{ dns2 }}"} }
Can someone help if this is the right api for updating the DNS for IPv4? I'm following the https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/ page for redfish api related configurations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2021 11:45 AM
03-25-2021 11:45 AM
Re: IPv4 DNS not updating from redfish api for HP iLO5
This is the wrong api to be used for updating DNS, details below.
api: https://{{ hpilo_ip }}/redfish/v1/managers/1/ethernetinterfaces/1/
payload: { "Oem": { "Hpe": { "IPv4": { "DNSServers": ["{{ dns1 }}","{{ dns2 }}"] }}}}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2021 06:37 PM
05-31-2021 06:37 PM
Re: IPv4 DNS not updating from redfish api for HP iLO5
Hello,
Try the below commands.
-d "[ { \"data\": \"$currentIp\", \"port\": $port, \"priority\": 0, \"protocol\": \"string\", \"service\": \"string\", \"ttl\"$
d "[ { \"data\": \"$currentIp\", \"port\": $port, \"priority\": 0, \"protocol\": \"string\", \"service\": \"string\", \"ttl\": $ttl, \"weight\": $weight } ]"
I am a HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]