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

Chapter 6: DNS

DNS Commands 221

 

 

 

DNS Commands

This chapter contains the following commands

Configuration Commands

Dynamic DNS Configuration Commands

service dns dynamic interface <interface>

Enables support for DDNS on an interface.

 

 

service dns dynamic interface <interface> service <service>

Specifies a DDNS service provider.

 

 

service dns dynamic interface <interface> service <service>

Specifies the host name to update the DNS record

host name <hostname>

for with DDNS service provider.

 

 

service dns dynamic interface <interface> service <service>

Specifies the login ID to use to log on to a DDNS

login <service login>

service provider.

 

 

service dns dynamic interface <interface> service <service>

Specifies the password to use to log on to a DDNS

password <service password>

service provider.

 

 

service dns dynamic interface <interface> service <service>

Specifies the server to send DDNS updates to.

server <addr>

 

 

 

DNS Forwarding Configuration Commands

 

 

 

service dns forwarding cache size <size>

Specifies the size of the DNS forwarding service

 

cache.

 

 

service dns forwarding dhcp <interface>

Specifies an interface on which DHCP updates to

 

name server information will be received.

 

 

service dns forwarding listen on <interface>

Specifies an interface on which to listen for DNS

 

requests.

 

 

service dns forwarding name server <ipv4>

Specifies a name server to forward DNS requests to.

 

 

service dns forwarding system

Specifies DNS forwarding to system configured

 

name servers.

 

 

Operational Commands

 

 

 

clear dns forwarding all

Clears all counters related to DNS forwarding and

 

clears the DNS forwarding cache.

 

 

clear dns forwarding cache

Removes all entries in the DNS forwarding cache.

 

 

show dns dynamic status

Displays update status for all hosts configured for

 

dynamic DNS updates.

 

 

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 222

 

 

 

show dns forwarding nameservers

Displays name servers being used for DNS

 

forwarding.

 

 

show dns forwarding statistics

Displays counters related to DNS forwarding.

 

 

update dns dynamic interface <interface>

Sends a forced update to a DDNS service provider

 

on the specified interface.

 

 

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 223

 

 

 

clear dns forwarding all

Clears all counters related to DNS forwarding and clears the DNS forwarding cache.

Syntax

clear dns forwarding all

Command Mode

Operational mode.

Parameters

None.

Default

None.

Usage Guidelines

Use this command to clear all counters related to DNS forwarding. All entries in the DNS forwarding cache are also removed.

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 224

 

 

 

clear dns forwarding cache

Removes all entries in the DNS forwarding cache.

Syntax

clear dns forwarding cache

Command Mode

Operational mode.

Parameters

None.

Default

None.

Usage Guidelines

Use this command to remove all entries in the DNS forwarding cache.

Services

R6.3 v01

Vyatta

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