Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Vyatta_Services_R6.3_v01.pdf
Скачиваний:
20
Добавлен:
19.02.2016
Размер:
1.18 Mб
Скачать

Chapter 6: DNS

DNS Commands 249

 

 

 

show dns forwarding nameservers

Displays name servers being used for DNS forwarding.

Syntax

show dns forwarding nameservers

Command Mode

Operational mode.

Parameters

None

Usage Guidelines

Use this command to display the name servers that are currently being used for DNS forwarding as well as those that are available but are not being used for DNS forwarding.

Examples

Example 6-6 shows sample output of show dns forwarding nameservers.

Example 6 6 Displaying DNS forwarding name server information

vyatta@R1> show dns forwarding nameservers

Nameservers configured for DNS forwarding

10.0.0.30 available via 'system'

Nameservers NOT configured for DNS forwarding

10.0.0.31 available via 'dhcp eth3'

vyatta@R1>

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 250

 

 

 

show dns forwarding statistics

Displays counters related to DNS forwarding.

Syntax

show dns forwarding statistics

Command Mode

Operational mode.

Parameters

None

Usage Guidelines

Use this command to display statistics related to DNS forwarding. The statistics restart each time there is a change in name servers from any source (dhcp, system, or statically configured), a change in static host mapping (using the system static-host-mapping command), or a change made to the DNS forwarding configuration.

Examples

Example 6-7 shows sample output of show dns forwarding statistics.

Example 6 7 Displaying DNS forwarding statistics

vyatta@R1> show dns forwarding statistics

Cache statistics

Cache size: 150 Queries forwarded: 5

Queries answered locally: 2

Total DNS entries inserted into cache: 23

DNS entries removed from cache before expiry: 0

Nameserver statistics

Server: 10.0.0.30 Queries sent: 5

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 251

 

 

 

Queries retried or failed: 0

vyatta@R1>

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 252

 

 

 

update dns dynamic interface <interface>

Sends a forced update to a DDNS service provider on the specified interface.

Syntax

update dns dynamic interface text

Command Mode

Operational mode.

Parameters

interface The interface from which to send the forced update.

Usage Guidelines

Use this command to manually initiate a forced update to a dynamic DNS (DDNS) service provider. The forced update provides the DDNS service provider with the current status of the specified interface.

Note that this command should be used sparingly as frequent unnecessary updates could cause the host name to be blocked by the DDNS service provider.

Services

R6.3 v01

Vyatta

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]