Adding a DNS address (name-server) on Juniper Junos

In this lesson, I will show you how you can add one or more DNS IP addresses on the Juniper device (normally DNS is called name-server on Juniper).

What is the function of the DNS? It is to map the domain name to an IP address and vice versa.

In case you want that your router to reach domain names on the internet, you should provide it DNS servers IP addresses. By default, my Juniper router has 2 DNS IP addresses as the following:

root@Juniper# edit system

[edit system]

root@Juniper# show name-server

208.67.222.222;

208.67.220.220;

I would like to change them to 8.8.8.8 and 1.1.1.1 which are some public DNS IP addresses widely used.

I will delete the 1st DNS address and then add 8.8.8.8, because if you just add 8.8.8.8 then the current DNS IP addresses will not be replaced automatically:

 

[edit system]

root@Juniper# delete name-server ?

Possible completions:

<[Enter]>            Execute this command

<address>            DNS name server address

208.67.220.220       DNS name server address

208.67.222.222       DNS name server address

|                    Pipe through a command

[edit system]

root@Juniper# delete name-server 208.67.220.220

[edit system]

root@Juniper#

Apologies, the Full Lesson Access is Only for Members....

\

Get Access to all Lessons from different Vendors

\

Affordable Price to Enhance your IT Skills!

\

Always Accessing all Lessons including the New Added Ones

100% Satisfaction Guaranteed!

You can cancel your membership at anytime.
No Questions Asked Whatsover!

Course Content

0 Comments

Submit a Comment

About