Pergunta
Como configuro entradas DNS manuais no Cisco Web Security Appliance?
Ambiente
Cisco Web Security Appliance (WSA), todas as versões do AsyncOS
Na interface de linha de comando (CLI), digite os seguintes comandos como mostrado:
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.
[]>
No prompt CLI, use o comando CLI - commit - para confirmar as alterações de configuração de DNS.
Observação: a opção "localhosts" no comando CLI 'dnsconfig' é uma opção oculta.