0% found this document useful (0 votes)
53 views3 pages

Experiment No. 4 Aim: Configuration of Linux As DNS Server Theory: Setup Static DNS Servers in Ubuntu 12.04 (Precise Pangolin)

This document describes setting up a Linux system as a static DNS server. It explains configuring Ubuntu 12.04 by opening the dhclient.conf file and prepending custom DNS server IP addresses to direct domain name queries to alternative DNS servers instead of the default ISP servers. Running the specified commands allows one to replace the currently assigned DNS servers and potentially browse faster, more securely and protect online data by using alternative DNS solutions.

Uploaded by

Mohan Khedkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views3 pages

Experiment No. 4 Aim: Configuration of Linux As DNS Server Theory: Setup Static DNS Servers in Ubuntu 12.04 (Precise Pangolin)

This document describes setting up a Linux system as a static DNS server. It explains configuring Ubuntu 12.04 by opening the dhclient.conf file and prepending custom DNS server IP addresses to direct domain name queries to alternative DNS servers instead of the default ISP servers. Running the specified commands allows one to replace the currently assigned DNS servers and potentially browse faster, more securely and protect online data by using alternative DNS solutions.

Uploaded by

Mohan Khedkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Experiment No.

4
Aim: Configuration of Linux as DNS Server
Theory:
Setup Static DNS Servers in Ubuntu 12.04 (Precise Pangolin)
Sometimes you may want to use alternative DNS servers instead of the one provided by your
ISP. This can be either public, private or secured DNS servers. For example, you may want to use
Google Public DNS Servers or the one from OpenDNS to replace the one currently assigned to
your system. Well, this brief tutorial is going to show you how to do that in Ubuntu 12.04
(Precise Pangolin). With the right DNS servers, you can browse faster, securely and protect your
online data.

Objectives:
Add custom DNS servers in Ubuntu 12.04
Enjoy!
run the commands below to open dhclient.conf file.
sudo gedit /etc/dhcp/dhclient.conf

Then change the line highlighted to:


prepend domain-name-servers x.x.x.x, y.y.y.y;

Replace xx and yy with the primary and secondary DNS server addresses. Separate each address
with a comma. Save the file and youre done.

Conclusion: Thus we have set up static DNS server in Ubuntu 12.04

You might also like