Dns server route add, Creates a dns forwarding entry or template, Dns commands – Technicolor - Thomson ST585 V6 User Manual
Page 227: Syntax
E-DOC-CTC-20061027-0004 v1.0
DNS Commands
203
dns server route add
Creates a DNS forwarding entry or template.
SYNTAX:
where:
dns server route add
dns =
[src =
[srcmask =
[domain =
[metric =
[intf =
dns
The IP address of a DNS server. If 0.0.0.0 is used, the entry becomes a
DNS-Template which is instantiated if DNS Server IPs are configured
on an IP interface.
REQUIRED
src
The source IP address(es) using this remote DNS server. If specified,
only DNS queries from machines of which the source IP address
matches the source prefix of the DNS entry will be forwarded to the
corresponding DNS server.
Note
Supports IP/mask notation.
OPTIONAL
srcmask
The source IP address mask.
OPTIONAL
domain
The DNS Domain matching string. If configured, only those DNS
queries of which the domain name in the query matches with the
string configured for the entry will be forwarded to the corresponding
DNS Server. Maximum string length: 62 characters.
OPTIONAL
metric
A number between 0 and 100. Represents the metric (weight factor) for
this DNS route. The DNS Entry List is sorted on DNS Metric: the lower
the metric, the higher the priority of the entry.
OPTIONAL
intf
An interface name.
The interface associated with the DNS entry or DNS Template. DNS
queries will only be forwarded on the specified interface.
Note
In no interface is specified, DNS queries will be forwarded on
all interfaces.
OPTIONAL