Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

domain-name-server (Routing Instances and Access Profiles)

Syntax

Hierarchy Level

Description

Configure an IPv4 address for a DNS name server. You can configure an address globally for a routing instance at the [edit access] hierarchy level or for an access profile at the [edit access profile profile-name] hierarchy level. You can configure more than one address by including the statement multiple times.

Note:

A DNS name server address configured with this statement is less preferred than one configured with the domain-name-server-inet statement. That is, the server with the address configured with the domain-name-server-inet takes precedence over a server configured with this statement.

Options

dns-address

IPv4 address of the DNS name server.

Required Privilege Level

admin—To view this statement in the configuration

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

Release Information

Statement introduced in Junos OS Release 12.3.