LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2013, 02:53 AM   #1
rushikesh24
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Rep: Reputation: Disabled
DNS in centos


How to configure DNS setting and reverse DNS on centos?? I am creating a hadoop cluster in which i need configure each host which contains another host so that they can communicate with each other. I suggested as an alternative to edit the hosts file on every host in my cluster to contain each of your hosts. Pls, also tell host configure host file?
 
Old 04-04-2013, 04:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you could set up a DNS server if you want, but hosts file edit is probably easiest, just open it up and add a line for each entry,:


ip.add.re.ss hostname.domain


that's it.
 
Old 04-04-2013, 04:22 AM   #3
rushikesh24
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
how can we verify that the changes has been done...?
 
Old 04-04-2013, 04:50 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can perform forward and reverse lookups on the relevant hostnames and IP's.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS server on centos 6.0-Help!!!! Tosani19 Linux - Server 5 10-24-2011 06:54 PM
Flush DNS in CentOS k_oudom Linux - Networking 1 12-20-2009 07:58 AM
Help with secondary DNS (Centos 5.2) sxa Linux - Software 1 12-03-2008 04:22 PM
DNS Centos 5 rungsun Red Hat 1 03-20-2008 11:52 PM
CentOS 5 not querying DNS servers... custangro Red Hat 4 02-02-2008 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration