DNS COMMANDS
216
DMS-CTC-20101206-0049 v1.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
dns server route add
Creates a DNS forwarding entry or template
SYNTAX:
dns server route add
dns = <ip-address>
[src = <ip-address>]
[srcmask = <ip-mask(dotted or cidr)>]
[domain = <string>]
[metric = <number{0-100}>]
[label = <{None|DSCP|Interactive|Management|
Video|VoIP-RTP|VoIP-Signal|default}>]
[intf = <{loop|Internet|LocalNetwork}>]
where:
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
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.
OPTIONAL
srcmask
The IP address mask for the source prefix.
OPTIONAL
domain
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
The metric for the DNS entry. The DNS Entry List is sorted
on DNS Metric; the lower the metric, the higher the priority
of the entry.
OPTIONAL
label
The label associated with the DNS entry or DNS Template.
OPTIONAL
intf
The interface associated with the DNS entry or DNS
Template.
OPTIONAL