LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   DNS configuration ...How to know ? (http://www.linuxquestions.org/questions/linux-server-73/dns-configuration-how-to-know-4175446830/)

redhat70 01-22-2013 11:09 PM

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.

kbp 01-22-2013 11:37 PM

Code:

sudo netstat -tnlp | grep :53

TB0ne 01-23-2013 10:23 AM

Quote:

Originally Posted by redhat70 (Post 4875847)
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.

Habitual 01-23-2013 05:05 PM

Quote:

Originally Posted by kbp (Post 4875851)
Code:

sudo netstat -tnlp | grep :53

Code:

telnet 127.0.0.1 53
works as well.

redhat70 01-28-2013 11:43 PM

I thank one and all for responding to my questions and helping me in Learning Linux.

Thanks All.

chrism01 01-29-2013 02:54 AM

Re
Code:

telnet 127.0.0.1 53
Only if its listening on 127.0.0.1 / localhost.

acid_kewpie 01-29-2013 10:04 AM

Quote:

Originally Posted by chrism01 (Post 4879637)
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!

chrism01 01-29-2013 08:35 PM

I agree with you there :)
I was trying to hint that I'd normally expect it to be listening on the non-localhost addr.

kbp 01-29-2013 08:35 PM

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 :)

acid_kewpie 01-30-2013 01:35 AM

Quote:

Originally Posted by kbp (Post 4880290)
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.

kbp 01-30-2013 02:29 AM

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

agogo 01-31-2013 12:18 PM

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

TB0ne 01-31-2013 12:57 PM

Quote:

Originally Posted by agogo (Post 4881469)
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"?

agogo 01-31-2013 01:44 PM

Quote:

Originally Posted by TB0ne (Post 4881491)
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.

TB0ne 01-31-2013 02:00 PM

Quote:

Originally Posted by agogo (Post 4881525)
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.


All times are GMT -5. The time now is 07:36 PM.