ilomconfig modify dns --autodns enabled --retries retries --timeout timeout
Where timeout is an integer between 1 and 10, and retries is an integer between 0 and 4.
ilomconfig modify dns --nameservers nameserverlist --autodns disabled --retries retries --searchpath searchpathlist --timeout timeout
Configuring Oracle ILOM (ilomconfig), Oracle Hardware Management Pack Server CLI Tools User's Guide at https://www.oracle.com/goto/ohmp/docs