How to Ensure Changes In the /etc/hosts File Are Picked Up by the API Gateway

Document ID : KB000108732
Last Modified Date : 19/02/2019
Show Technical Document Details
  • 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:¬†