Technical Documentation

Configuring a DNS Name Server for Resolving a Hostname into Addresses

To have the router or switch resolve hostnames into addresses, you must configure one or more 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# showsystem {name server {192.168.1.253;192.168.1.254;}}

Published: 2010-04-26