Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Install and Configure DNS in Linux

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 01-02-2010
Member
 
Join Date: Apr 2009
Posts: 17
Install and Configure DNS in Linux

Hello,

I'm basically a windows user, just installed the so called famous ubuntu on my pc, i found it really good. I need help in configuring and installing DNS on ubuntu. I need to know basic steps as i'm new to linux environment OS. Hope you guys will help me with your knowledge. Thanks for any help.
Reply With Quote
  #2  
Old 01-02-2010
linux.'s Avatar
Member
 
Join Date: Dec 2008
Posts: 50
Re: Install and Configure DNS in Linux

Modify the file resolv.conf with the following parameters

Code:
sudo vi /etc/resolv.conf
Enter the following details save and exit the file

//Replace example.com with your domain name and 192.168.0.1 with the address of your DNS server.

Search example.com
nameserver 192.168.0.1

Test your DNS using the following command

Code:
dig example.com
Reply With Quote
  #3  
Old 01-02-2010
shahid khan's Avatar
Member
 
Join Date: Mar 2008
Posts: 212
Re: Install and Configure DNS in Linux

I don't have idea about ubutu but i'm using debian, i think must be similiar. In debian the configuration of a DNS server requires installing Debian packages
following (as root):

Quote:
# apt-get install bind9 bind9-doc dnsutils
The DNS service is composed of two programs:
  • The so-called named, is the domain name server.
  • The resolver (client) is what generates the requests.

Before you edit and manipulate any configuration file or any tool service do a backup of it. You can copy the same name and add the end of the text "origin. For example:

Quote:
# cp /etc/bin/named.conf.local /etc/bind/named.conf.local.origen
The domain configuration file is named in /etc/bind/ and is called named.conf. In the same directory is the other configuration files relations bind. The named.conf file is rarely changed. The specific areas of DNS server is configured, are defined in /etc/bin/named.conf.local and are included at the end of this file with an "include". The named working directory is /var/cache/bind/.

To launch the service must run the following command:
Quote:
#/Etc/init.d/bind9 start
Reply With Quote
  #4  
Old 01-02-2010
Raiz's Avatar
Member
 
Join Date: Dec 2008
Posts: 1,111
Re: Install and Configure DNS in Linux

Have a look at following threads:

Configure WiFi on Linux
How to configure a dedicated DNS server.
Configure JSP Server on Red Hat Linux
__________________
The difference between stupidity and genius is that genius has its limits. - Albert Einstein

What we think, we become (Please don't think you are a superhero and don't try to fly)

"SUCCESS IS NOT A DESTINATION , IT'S A JOURNEY"
Reply With Quote
  #5  
Old 01-02-2010
Calvin K's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,479
Re: Install and Configure DNS in Linux

The first commands to change file to perform in "Terminal":

Code:
vi /etc/bind/named.conf
vi /etc/bind/db.192.168.0
vi /etc/bind/db.halios.interne
Creating zones (in vim /etc/bind/named.conf):

Quote:
zone "halios.interne" {
type master;
file "/etc/bind/db.halios.interne";
};

zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192.168.0";
};
Once all the configuration files written you can run the server:

Quote:
/etc/init.d/bind9 start
-> Or need to restart the server:

Quote:
/etc/init.d/bind9 restart
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Install and Configure DNS in Linux"
Thread Thread Starter Forum Replies Last Post
How to configure linux os on Blackarmor NAS 220 Jolene Operating Systems 9 22-10-2011 12:36 AM
How to configure a wifi usb nic on Linux Abhiroopa Networking & Security 5 30-12-2010 12:04 AM
Configure Filtering in Linux LinuxScho Software Development 5 27-11-2010 04:09 AM
Configure JSP Server on Red Hat Linux ReD-GuY-ReD-HaT Operating Systems 2 29-07-2009 11:42 PM
Configure WiFi on Linux Paul Guides & Tutorials 5 09-04-2009 09:08 AM


All times are GMT +5.5. The time now is 07:24 AM.