Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

name-server (System Services)

date_range 14-Jan-25

Syntax

content_copy zoom_out_map
name-server {
    address {
        routing-instance routing-instance;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit system],
[edit system services dhcp],
[edit system services dhcp],
[edit system services dhcp pool],
[edit system services dhcp static-binding]

Description

Configure one or more Domain Name System (DNS) name servers.

Options

address

Address of the name server. To configure multiple name servers, include a maximum of three address options. The system uses only the first three configured addresses even if you configure additional addresses.

routing-instance routing-instance

Configure name of the routing instance through which the name server is reachable.

Note:

The only routing instance supported is mgmt_junos. Also, this routing instance command is not supported on SRX Series devices.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

routing-instance options introduced in Junos OS Release 19.2R1 under the [edit system] hierarchy level only.

footer-navigation