domain-name-server-inet (Routing Instances and Access Profiles)
Syntax
domain-name-server-inet dns-address;
Hierarchy Level
[edit access], [edit access profile]
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.
A DNS name server address configured with this statement is higher in preference than one configured with the domain-name-server statement. That is, the server with the address configured with the domain-name-server-inet takes precedence over a server configured with the domain-name-server 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.