How to Ensure Changes In the /etc/hosts File Are Picked Up by the API Gateway
Document ID :
Last Modified Date :
Show Technical Document Details
CA API Management Gateway
How can I make sure that changes in the /etc/hosts file and DNS are picked up by the Gateway?
The machine itself will pick up the changes directly. But the Gateway service runs as a Java process and this Java process needs to pick up the changed values. The best way to achieve this is to restart the ssg service with the following command:
service ssg restart
There is a KB article on configuring the Java DNS cache TTL as a secondary option as well if desired:
Was this information helpful?