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, MX, PTX, SRX, 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 a maximum of three Domain Name System (DNS) name servers by including the name-server statement at the [edit system] hierarchy level:
[edit system]
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;}}
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, MX, PTX, SRX, T Series
- name-server
Published: 2013-09-25
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, MX, PTX, SRX, T Series
- name-server