Navigation
Related Documentation
- EX, M, MX, PTX, QFX, T Series
- Configuring the Domains to Search When a Router or Switch Is Included in Multiple Domains
- EX, M, PTX, T Series
- name-server
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:
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;}}
Related Documentation
- EX, M, MX, PTX, QFX, T Series
- Configuring the Domains to Search When a Router or Switch Is Included in Multiple Domains
- EX, M, PTX, T Series
- name-server
Published: 2012-07-03
Related Documentation
- EX, M, MX, PTX, QFX, T Series
- Configuring the Domains to Search When a Router or Switch Is Included in Multiple Domains
- EX, M, PTX, T Series
- name-server