CA API Portal 4.2 - Search domain won't persist after reboot
book
Article ID: 113796
calendar_today
Updated On:
Products
CA API Developer PortalCA API Gateway
Issue/Introduction
Question: If I edit the resolv.conf file to change the search domain from "localdomain" to "mycomapny.domain.com" , the new setting won't persist after the VM reboot and the entry goes back to initial setup
Answer: resolv.conf is auto-populated by /usr/sbin/dhclient-script in phase of OS bootup. If DHCP is not used, changes have to be applied at the OS interface script in order to be persistent.
Edit the interface script and add a SEARCH entry like the example below: