You can configure the router to support Domain Name System (DNS) and Trivial File Transfer Protocol (TFTP) packet forwarding for IPv4 traffic, which allows clients to send DNS or TFTP requests to the router. The responding DNS or TFTP server recognizes the client address and sends a response directly to that address. By default, the router ignores DNS and TFTP request packets.
To enable DNS or TFTP packet forwarding, include the helpers statement at the [edit forwarding-options] hierarchy level:
- [edit forwarding-options]
-
helpers {
-
- domain {
- description description-of-service;
- server < [ routing-instance routing-instance-names ] >;
-
- interface interface-name {
- description description-of-interface;
- no-listen;
- server < [ routing-instance routing-instance-names ] >;
- }
- }
-
- tftp {
- description description-of-service;
- server < [ routing-instance routing-instance-names ] >;
-
- interface interface-name {
- description description-of-interface;
- no-listen;
- server < [ routing-instance routing-instance-names ] >;
- }
- }
- }
To set domain packet forwarding, include the domain statement.
To set the description of the DNS or TFTP service, include the description statement.
To set TFTP packet forwarding, include the tftp statement.
To set a DNS or TFTP server (with an IPv4 address), include the server statement. Use one address for either a global configuration or for each interface.
To set the routing instance of the server to forward, include the routing-instance statement. You can include as many routing instances as necessary in the same statement.
To disable recognition of DNS or TFTP requests on one or more interfaces, include the no-listen statement. If you do not specify at least one interface with this statement, the forwarding service is global to all interfaces on the routing platform.
The following sections discuss the following topics: