DNS Name Resolution when name server is unavailable - Workaround (not feasible long term)
book
Article ID: 244761
calendar_today
Updated On:
Products
AppNeta
DX NetOps
Issue/Introduction
Unable to resolve DNS names when DNS server is unable or not used in deployment
Resolution
SSH/Console into the device and update the hosts file located in /etc/hosts
Commands:
cat /etc/hosts - view contents of file
sudo vi /etc/hosts - open file in vi text editor
vi commands:
i - insert
esc - exit insert mode
:wq - save and quit
:q - quit without saving
Example:

Additional Information
**Note: Any changes to the host file will be reverted back to default on any reflash or upgrade of the EMP operating system.**
Feedback
thumb_up
Yes
thumb_down
No