| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-22-2013, 10:09 PM
|
#1
|
|
Member
Registered: May 2012
Posts: 79
Rep: 
|
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.
|
|
|
|
01-22-2013, 10:37 PM
|
#2
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
Code:
sudo netstat -tnlp | grep :53
|
|
|
|
01-23-2013, 09:23 AM
|
#3
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,778
|
Quote:
Originally Posted by redhat70
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.
|
|
|
|
01-23-2013, 04:05 PM
|
#4
|
|
Senior Member
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 1,383
Rep: 
|
Quote:
Originally Posted by kbp
Code:
sudo netstat -tnlp | grep :53
|
Code:
telnet 127.0.0.1 53
works as well.
|
|
|
1 members found this post helpful.
|
01-28-2013, 10:43 PM
|
#5
|
|
Member
Registered: May 2012
Posts: 79
Original Poster
Rep: 
|
I thank one and all for responding to my questions and helping me in Learning Linux.
Thanks All.
|
|
|
|
01-29-2013, 01:54 AM
|
#6
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,938
|
Re
Code:
telnet 127.0.0.1 53
Only if its listening on 127.0.0.1 / localhost.
|
|
|
1 members found this post helpful.
|
01-29-2013, 09:04 AM
|
#7
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,676
|
Quote:
Originally Posted by chrism01
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!
|
|
|
|
01-29-2013, 07:35 PM
|
#8
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,938
|
I agree with you there
I was trying to hint that I'd normally expect it to be listening on the non-localhost addr.
|
|
|
|
01-29-2013, 07:35 PM
|
#9
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
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 
|
|
|
|
01-30-2013, 12:35 AM
|
#10
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,676
|
Quote:
Originally Posted by kbp
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.
|
|
|
|
01-30-2013, 01:29 AM
|
#11
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
That would mean a normal DNS server was only ever caching or not redundant no? ..
Last edited by kbp; 01-30-2013 at 01:45 AM.
Reason: Removed secondary
|
|
|
|
01-31-2013, 11:18 AM
|
#12
|
|
LQ Newbie
Registered: Jan 2013
Posts: 5
Rep: 
|
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
|
|
|
|
01-31-2013, 11:57 AM
|
#13
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,778
|
Quote:
Originally Posted by agogo
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"?
|
|
|
|
01-31-2013, 12:44 PM
|
#14
|
|
LQ Newbie
Registered: Jan 2013
Posts: 5
Rep: 
|
Quote:
Originally Posted by TB0ne
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.
|
|
|
|
01-31-2013, 01:00 PM
|
#15
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,778
|
Quote:
Originally Posted by agogo
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 01:04 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|