Cisco Cisco Web Security Appliance S360 Guia De Resolução De Problemas

Página de 2
How do I configure manual DNS entries on the
Web Security Appliance?
Document ID: 118452
Contributed by Josh Wolfer and Siddharth Rajpathak, Cisco TAC
Engineers.
Oct 13, 2014
Contents
Question
Environment
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.