service dns forwarding listen-on <interface>
Specifies an interface on which to listen for client DNS requests.
- interface
- Mandatory. Multinode. An interface on which to listen for client DNS requests.
You can specify more than one interface to receive client DNS requests by creating multiple listen-on configuration nodes.
Configuration mode
service {
dns {
forwarding {
listen-on interface
}
}
}
Use this command to specify interfaces on which to listen for client DNS requests. Only queries received on interfaces specified with this command receive DNS answers. At least one interface must be specified for DNS forwarding to operate.
Use the set form of this command to specify an interface on which to listen for client DNS requests.
Use the delete form of this command to stop an interface from listening for client DNS requests.
Use the show form of this command to display the configuration of client DNS request listening.