[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring the DNS Server for the Redirect Server (SRC CLI)
A DNS server is required to support HTTP
proxies to resolve the name of any HTTP proxy, even if the name is
valid only in the private domain of the client. You can use an external
DNS or the DNS server that is included with the redirect server for
this purpose.
If you plan to use an external DNS server, you
can skip this section. This section describes how to configure the
DNS server that is included with the redirect server.
Use the following configuration statements to configure
the DNS server that is included with the redirect server:
- redirect-server dns {
- enable;
- tcp-port tcp-port;
- udp-port udp-port;
- forwarder forwarder;
- error-ip-address error-ip-address;
- }
To configure DNS for the redirect server
that is included with the redirect server:
- From configuration mode, access the configuration statement
that configures DNS for the redirect server.
- user@host# edit redirect-server dns
- Enable DNS for the redirect server.
- [edit redirect-server dns]
- user@host# set enable
- Specify the TCP port on which the DNS server listens:
If you set the value to 0, no TCP socket is opened.
- [edit redirect-server dns]
- user@host# set tcp-port tcp-port
- Specify the UDP port on which the DNS server listens.
- [edit redirect-server dns]
- user@host# set udp-port udp-port
- Specify the IP addresses of DNS servers to which resolution
requests are forwarded; use commas to separate addresses, but do not
add a space after the comma.
- [edit redirect-server dns]
- user@host# set forwarder forwarder
For example:
- [edit redirect-server dns]
- user@host# set forwarder 192.0.2.24,192.0.4.25
If you do not specify DNS servers, DNS
resolves incoming requests by using the normal DNS method.
- Specify the IP address that is returned when a DNS request
results in an unknown name (NXDOMAIN) error.
- [edit redirect-server dns]
- user@host# set error-ip-address error-ip-address
Related Topics
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]