LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-20-2013, 04:02 AM   #1
rushikeshgaradade
LQ Newbie
 
Registered: Mar 2013
Posts: 7

Rep: Reputation: Disabled
how to check whether DNS is configured on my os(CentOS)


how to check whether DNS is configured on my os(CentOS)

or is it by default configured on intallation

if not configured then how to configure it..

and also for Reverse DNS....

Last edited by rushikeshgaradade; 03-20-2013 at 04:08 AM.
 
Old 03-20-2013, 04:32 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
what does that mean? As a client or as a server?
 
Old 03-20-2013, 04:48 AM   #3
rushikeshgaradade
LQ Newbie
 
Registered: Mar 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
for server......

Actually i am trying to install HDP in that there is one step saying "All hosts in your system must be configured for DNS and Reverse DNS."

i just want to resolve above query
 
Old 03-20-2013, 04:55 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
So I guess you don't know what that means then.

I would read that any client in this solution (no idea what HDP is btw.) Will need to be able to resolve appropriate names in the solution to IP addresses and also be able to convert IP's back to hostnames. This could be from local /etc/hosts file entries, or from a dedicated DNS server such as BIND

btw, you might want to say please or thank you next time.
 
Old 03-20-2013, 05:29 AM   #5
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Can you check following file on your system. Are there name servers' defined in it or not?

Code:
~$ cat /etc/resolv.conf
 
Old 03-20-2013, 05:37 AM   #6
rushikeshgaradade
LQ Newbie
 
Registered: Mar 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Sorry for that.....


HDP stands for Hortonworks Data Platform....

please tell me how to check or configure DNS
 
Old 03-20-2013, 05:46 AM   #7
rushikeshgaradade
LQ Newbie
 
Registered: Mar 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
@shivaa:

No name servers defined........

this is info displayed........

No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
 
Old 03-20-2013, 05:55 AM   #8
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
File should look like this, where 2 DNS servers are defined as primary and secondary:
Code:
domain mars.universe.com
nameserver x.x.x.x
nameserver x.x.x.x
search mars.universe.com universe.com
So define them first or ask your network admin to provide you the same.
 
  


Reply



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
Transaction Check Error in DNS server running centos 5.7 SarahGurung Linux - Newbie 32 01-27-2012 05:39 PM
how to use yum server configured on centos 5.5 on red hat? piyusharora420 Linux - Server 2 12-29-2010 01:40 AM
How to setup reverse dns check in Postfix ( CENTOS 5 ) ? dlugasx Linux - Server 1 11-04-2009 07:51 AM
[SOLVED] Local DNS configured through /etc/hosts bartonski Linux - Wireless Networking 3 10-14-2009 06:38 AM
How DNS can be configured , to update records dynamically; when using DHCPd?????????? mwj Linux - Software 3 03-20-2004 11:01 AM

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

All times are GMT -5. The time now is 08:16 PM.

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