Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring a DNS Name Server for Resolving a Hostname into Addresses

To have the router or switch resolve hostnames into addresses, you must configure a maximum of three Domain Name System (DNS) name servers by including the name-server statement at the [edit system] hierarchy level:

[edit system]
name-server {address;}

The following example shows how to configure two DNS name servers:

[edit]user@host# set system name-server 192.168.1.253[edit]user@host# set system name-server 192.168.1.254[edit]user@host# show
system {name server {192.168.1.253;192.168.1.254;}}

Published: 2013-09-25