# aaa dns

#### Syntax

aaa dns { primary | secondary } ipAddress

no aaa dns { primary | secondary }

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies the IP address of the primary DNS name server. The no version sets the corresponding address to 0.

#### Options

- primary—Specifies the primary DNS name server
- secondary—Specifies the secondary DNS name server
- ipAddress—IP address of the name server

#### Mode

Global Configuration