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

Chapter 6: DNS

DNS Commands 245

 

 

 

service dns forwarding system

Specifies DNS forwarding to system configured name servers.

Syntax

set service dns forwarding system

delete service dns forwarding system

show service dns forwarding

Command Mode

Configuration mode.

Configuration Statement

service { dns {

forwarding { system

}

}

}

Parameters

None

Default

None.

Usage Guidelines

Use this command to direct the system to forward DNS requests to name servers statically configured using the system name-server command.

By default, the DNS forwarding service forwards DNS requests to a pool of name servers comprised of the statically configured name servers plus those of which it was notified using DHCP. This command is used to override the defaults: when this command is issued, DNS requests are forwarded to statically configured name servers.

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 246

 

 

 

This command can be combined with service dns forwarding dhcp <interface> and/or service dns forwarding name-server <ipv4> to provide a larger pool of candidate name servers.

Use the set form of this command to specify the system-set name servers to forward DNS requests to.

Use the delete form of this command to restore the default DNS forwarding behavior.

Use the show form of this command to view DNS forwarding configuration.

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 247

 

 

 

show dns dynamic status

Displays update status for all hosts configured for dynamic DNS updates.

Syntax

show dns dynamic status

Command Mode

Operational mode.

Parameters

None

Usage Guidelines

Use this command to display the update status for all host names configured to be updated by dynamic DNS (DDNS).

Examples

Example 6-5 shows sample output of show dns dynamic status.

Example 6 5 Displaying information for hosts configured for DDNS

vyatta@R1> show dns dynamic status show dns dynamic status

interface

:

eth2

ip address

:

1.2.3.4

host name

:

test1.getmyip.com

last update

:

Thu Sep 11 19:30:43 2008

update status:

good

interface

:

eth2

ip address

:

1.2.3.5

host name

:

test2.getmyip.com

last update

:

Thu Sep 11 19:30:43 2008

update status:

good

interface

:

eth3

ip address

:

1.3.4.5

host name

:

test4

last update

:

Thu Sep 11 19:34:16 2008

update status:

good

Services

R6.3 v01

Vyatta

Chapter 6: DNS

DNS Commands 248

 

 

 

vyatta@R1>

Services

R6.3 v01

Vyatta

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