LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-22-2013, 11:09 PM   #1
redhat70
Member
 
Registered: May 2012
Posts: 86

Rep: Reputation: Disabled
DNS configuration ...How to know ?


Hi,

I want to know whether DNS configured or not in the REDHAT LINUX Server...How to find this out ?

Can anybody help me with the commands...Please ?


Regards,
Aparna.
 
Old 01-22-2013, 11:37 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Code:
sudo netstat -tnlp | grep :53
 
Old 01-23-2013, 10:23 AM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,944

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
Quote:
Originally Posted by redhat70 View Post
Hi,
I want to know whether DNS configured or not in the REDHAT LINUX Server...How to find this out ?
Can anybody help me with the commands...Please ?
The same way you check to see if ANY service is running. Either put in "/etc/init.d/named status" or "chkconfig named". Again, Google can help you with such VERY simple questions.
 
Old 01-23-2013, 05:05 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,568
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by kbp View Post
Code:
sudo netstat -tnlp | grep :53
Code:
telnet 127.0.0.1 53
works as well.
 
1 members found this post helpful.
Old 01-28-2013, 11:43 PM   #5
redhat70
Member
 
Registered: May 2012
Posts: 86

Original Poster
Rep: Reputation: Disabled
I thank one and all for responding to my questions and helping me in Learning Linux.

Thanks All.
 
Old 01-29-2013, 02:54 AM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Re
Code:
telnet 127.0.0.1 53
Only if its listening on 127.0.0.1 / localhost.
 
1 members found this post helpful.
Old 01-29-2013, 10:04 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Quote:
Originally Posted by chrism01 View Post
Re
Code:
telnet 127.0.0.1 53
Only if its listening on 127.0.0.1 / localhost.
Well it MIGHT be listening on TCP too, but that's really not an appropriate test here, as also the original netstat isn't either. UDP people, UDP!
 
Old 01-29-2013, 08:35 PM   #8
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
I agree with you there
I was trying to hint that I'd normally expect it to be listening on the non-localhost addr.
 
Old 01-29-2013, 08:35 PM   #9
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Well it MIGHT be listening on TCP too, but that's really not an appropriate test here, as also the original netstat isn't either. UDP people, UDP!
From memory the standard for DNS says that any response larger than a UDP packet should be put in a TCP packet so I think both are required
 
Old 01-30-2013, 01:35 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Quote:
Originally Posted by kbp View Post
From memory the standard for DNS says that any response larger than a UDP packet should be put in a TCP packet so I think both are required
No, not true, well... only zone transfers can ever be large enough, so a normal DNS server only ever needs UDP, and TCP will not be listening.
 
Old 01-30-2013, 02:29 AM   #11
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
That would mean a normal DNS server was only ever caching or not redundant no? ..

Last edited by kbp; 01-30-2013 at 02:45 AM. Reason: Removed secondary
 
Old 01-31-2013, 12:18 PM   #12
agogo
LQ Newbie
 
Registered: Jan 2013
Posts: 5

Rep: Reputation: Disabled
ja, thanx ja all.i need to know something very important if anybody could help me.

i have a DNS on my redhat 5 enteprise.after config everything works just fine but the only problem i have is my clients networks cant access this dns or neither my webserver.

it should be able at list to respond if my clients pc try to browse my server.is someone having idea about this problem.

1,i need my clients to browse my webpage on the local network but not with ip adress but with my dns name.

thanx
 
Old 01-31-2013, 12:57 PM   #13
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,944

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
Quote:
Originally Posted by agogo View Post
ja, thanx ja all.i need to know something very important if anybody could help me.
i have a DNS on my redhat 5 enteprise.after config everything works just fine but the only problem i have is my clients networks cant access this dns or neither my webserver.

it should be able at list to respond if my clients pc try to browse my server.is someone having idea about this problem. 1,i need my clients to browse my webpage on the local network but not with ip adress but with my dns name.

thanx
Spell out your words, please...and you need to open your own thread for your own question; don't hijack someone elses. Also, your question is very vague...what do you mean "at list to respond if my clients pc try to browse my server"?
 
Old 01-31-2013, 01:44 PM   #14
agogo
LQ Newbie
 
Registered: Jan 2013
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Spell out your words, please...and you need to open your own thread for your own question; don't hijack someone elses. Also, your question is very vague...what do you mean "at list to respond if my clients pc try to browse my server"?


ja so sory if u could have helped me rather than puting presure on me.anyway this is my first time of using this site and i think he who think he knows much should rather help those who know not than talkin any how to them.


my problem is that,i have my apache and dns configured and on the same machine(server)am abble to lunch and used this services. but my clients computers are not abble to luch the wepsite that we created and the dns is not resolving in our clients computers.

thank and sory for bein in ur thrend.will lern how to.
 
Old 01-31-2013, 02:00 PM   #15
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,944

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
Quote:
Originally Posted by agogo View Post
ja so sory if u could have helped me rather than puting presure on me.anyway this is my first time of using this site and i think he who think he knows much should rather help those who know not than talkin any how to them.

my problem is that,i have my apache and dns configured and on the same machine(server)am abble to lunch and used this services. but my clients computers are not abble to luch the wepsite that we created and the dns is not resolving in our clients computers.

thank and sory for bein in ur thrend.will lern how to.
Again, you need to SPELL OUT YOUR WORDS...text-speak isn't good for anyone to try to read. And I did ask you questions to TRY to help you, so being rude (when YOU hijacked someone elses thread) isn't likely to get ANYONE to help you on ANY forum. The rules of the forums aren't hard to find, and if you had read them, you'd have seen such things. And if asking you a question and reminding you of forum rules is 'putting pressure' on you, I'm not sure how ANYONE can give you any help.

You've opened another thread with the same question. Read it for a reply.

Last edited by TB0ne; 01-31-2013 at 02:04 PM.
 
  


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 configuration immortaltechnique Red Hat 7 02-01-2013 09:46 AM
help with dns configuration Datse Linux - Server 1 04-28-2012 04:04 PM
A DNS learner's question->Is my DNS configuration right? saagar Linux - Newbie 4 01-12-2009 09:44 AM
DNS configuration and configuration file in RHEL5 remo1225 Linux - Newbie 1 02-20-2008 05:25 AM
DNS Configuration jojogeorge Linux - Software 3 09-23-2003 07:01 AM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration