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[edit]user@host# set system name-server[edit]user@host# showsystem {name server {;;}}

Published: 2010-04-26