How to configure DNS configuration for RHEL 5?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to configure DNS configuration for RHEL 5?
# 1  
Old 04-18-2013
How to configure DNS configuration for RHEL 5?

I wanted to know how to configure DNS configuration for RHEL 5.

I hope, my query is clear of how to setup DNS for RHEL 5.

Please revert with the reply to my query

Regards
# 2  
Old 04-18-2013
Do you want to set up the RHEL host as a DNS server or set it as a client to use an existing DNS server?

What have you tried so far?




Robin
Liverpool/Blackburn
UK
# 3  
Old 04-18-2013
Thanks for your answer. I was looking at a DNS cache naming server. Request you to please give the steps for setting up the RHEL host as a DNS server and the RHEL host as a client to use an existing DNS server.

Regards
# 4  
Old 04-18-2013
I would guess that you just want to be a client then, given that you already have an existing DNS server. Have a read of the manual page for resolv.conf - note that there is no e at the end of resolv.




Robin
# 5  
Old 04-26-2013
Hi,

I listed out the following steps to create a DNS server on RHEL 5, we have RHEL 5.8 in our production environment:

1) Install Bind
2) Make named.conf
3) Configure zone file
4) Edit /etc/resolv.conf

Are these steps correct or there are a different set of steps to follow?

Please revert with the reply.

Regards
# 6  
Old 04-26-2013
So, you want to be a DNS server now? It seems a sensible list to proceed with, but you have to so these too:-
  • Decide if it is stand-alone, master-slave (do we even have that concept any more) or peer.
  • Ensure other DNS servers are configured to communicate with this one (zone transfer etc.)
  • Start the service
  • Test function
  • Define DNS record update process
  • Test function
  • Decide your domain(s)
  • Input your A-records (name to IP)
  • Input your CNAME-records (service name to host name alias)
  • Test function
  • Encourage everyone to use the alias names. It makes future migration so much easier.

There may be more, but I assume you have some documentation to work with already.


Thinking about using a service alias name everywhere, you are best having one for each service you use that is a discreet block that you might migrate. You can then group them to a hostname and then have an A-record for the hostname to point to the IP address:-

Code:
serivce1  alias to  host-A
service2  alias to  host-A
service3  alias to  host-A
host-A defined as 123.123.123.123

You can then change to:

Code:
serivce1  alias to  host-A
service2  alias to  host-B
service3  alias to  host-A
host-A defined as 123.123.123.123
host-B defined as 321.321.321.321

...and all uses of service2 will be re-directed.


You need to spend time to plan your naming conventions. Get to know the applications and what they are able to reference and work out what discreet processes you can define, then make sure everyone sticks to it. We're had terrible trouble where people use the hostname assuming it will never change or just have the "well, it works for service1, so I can just re-use that rather than adding service4" which leaves you unable to separate them, so you have to move lots together and if one bit fails, you have to move them all back whilst you unpick it.




Robin
# 7  
Old 04-29-2013
Hi,

Thanks but an example with the complete steps could help.

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Snmptrapd configuration on rhel 8

I need to configure snmptrap on rhel 8 server and send trap to nimsoft for file system , memory and cpu load and network diconnection status. please help me, if any one configured. (1 Reply)
Discussion started by: yash_message
1 Replies

2. Homework & Coursework Questions

Configure DNS in rhel6.3

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: cant configure dns in virtual box. im using rhel6.3. i have a cd containing rhel which the professor provided us.... (2 Replies)
Discussion started by: rpmacaspac
2 Replies

3. Red Hat

RIP configuration in RHEL 6.3

Hi, Can someone please help me configuring RIP (Routing Information Protocol v2 ). I have tried few manuals and posts from networking sites and i didnt get a clear picture. This is what i have done: 1. Installed routed package and started routed service. however, Dynamic routes are... (1 Reply)
Discussion started by: reddybs
1 Replies

4. Red Hat

How to configure vnc on RHEL 6.1?

i am first time using RHEL 6.1 i have to configure vnc on this server to access desktop remotely for this server. i installed these rpm : rpm -ivh VNC-Server-5.0.3-Linux-x64.rpm rpm -ivh VNC-Viewer-5.0.3-Linux-x64.rpm there is no directory /etc/sysconfig/vncserver in RHEL 6 as it was... (6 Replies)
Discussion started by: rehantayyab82
6 Replies

5. Red Hat

RHEL 6.0 net configuration

hello, I have installed RHEL 6.0 on my lappy in a separate partion with windows 7 on the hardware(not using VMWARE).Now kindly help me to active network configuration in that?????Is it require to have LINUX wireless drivers???? (1 Reply)
Discussion started by: dillipkmrpadhy
1 Replies

6. Red Hat

configure dns in centos

Hi, how do I set the DNS in centos. I don't mean of creating DNS server, but setting what should be the DNS server of centos. I mean to what server he should go in order to translate url into ip (6 Replies)
Discussion started by: programAngel
6 Replies

7. Red Hat

Who can give me a document for configure nagios on RHEL 5

Who can give me a document for configure nagios on RHEL 5,thanks . (1 Reply)
Discussion started by: zhengsenlin
1 Replies

8. Ubuntu

How to configure YUM in RHEL 4.0

Hi guys Can anyone assist me how to configure YUM in RHEL4.0. and from where i can get the YUM package for RHEL4.0. Thanks in advance (3 Replies)
Discussion started by: daya.pandit
3 Replies

9. IP Networking

Configure DNS

I am running Solaris 2.6 Server on a Sparc 10 and I was wondering how I can manually specify a DNS server to resolve hostnames. Any help will be greatly appreciated. And also I have created a file in the /etc dir named defaultrouter and added th IP address of my router, but when I ping another... (15 Replies)
Discussion started by: jskillet
15 Replies

10. UNIX for Advanced & Expert Users

How to configure DNS

My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly. who can help me???Thank you very much!!! (6 Replies)
Discussion started by: q30
6 Replies
Login or Register to Ask a Question