Related Documentation
domain-name-server (Routing Instances and Access Profiles)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 12.3.
Statement introduced in Junos OS Release 13.2X50-D10 for EX Series switches.
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 lower in preference than one configured with the domain-name-server-inet 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.