Question
How do I configure manual DNS entries on the Cisco Web Security Appliance?
Environment
Cisco Web Security Appliance (WSA), all AsyncOS versions
In the command line interface (CLI) enter the following commands as shown:
WSA> dnsconfig
Choose the operation you want to perform:
- NEW - Add a new server.
- SETUP - Configure general settings.
- SEARCH - Configure DNS domain search list.
[]> localhosts
Local IP to Host mappings:
Choose the operation you want to perform:
- NEW - Add new local IP to host mapping.
- DELETE - Delete an existing mapping.
[]> new
Enter the IP address of the host you are adding.
[]> 1.1.1.1
Enter the canonical host name and any additional aliases (separate values with spaces)
[]> example.com
Local IP to Host mappings:
1. 1.1.1.1 example.com
Choose the operation you want to perform:
- NEW - Add new local IP to host mapping.
- DELETE - Delete an existing mapping.
[]> <Press Enter twice to go back to the CLI prompt>
At the CLI prompt, please use the CLI command - commit - to commit the DNS configuration changes.
Note: The "localhosts" option in the CLI command 'dnsconfig' is a hidden option.