Question
Comment configurer les entrées DNS manuelles sur l'appareil de sécurité Web Cisco ?
Environnement
Appliance de sécurité Web Cisco (WSA), toutes les versions AsyncOS
Dans l'interface de ligne de commande (CLI), entrez les commandes suivantes, comme indiqué :
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.
[]>
À l'invite CLI, utilisez la commande CLI - commit - pour valider les modifications de configuration DNS.
Remarque : l'option "localhosts" de la commande CLI 'dnsconfig' est une option masquée.