dns Commands
E-DOC-CTC-20071119-0014 v1.0 209
dns server route addCreates 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