How to configure DNS configuration for RHEL 5? | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

How to configure DNS configuration for RHEL 5?

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-18-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 2 July 2014, 9:24 AM EDT
Posts: 76
Thanks: 11
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 04-18-2013
rbatte1 rbatte1 is offline Forum Staff  
Moderator
 
Join Date: Jun 2007
Last Activity: 22 July 2014, 4:22 PM EDT
Location: Lancashire, UK
Posts: 1,600
Thanks: 508
Thanked 271 Times in 243 Posts
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
Sponsored Links
    #3  
Old 04-18-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 2 July 2014, 9:24 AM EDT
Posts: 76
Thanks: 11
Thanked 0 Times in 0 Posts
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
rbatte1 rbatte1 is offline Forum Staff  
Moderator
 
Join Date: Jun 2007
Last Activity: 22 July 2014, 4:22 PM EDT
Location: Lancashire, UK
Posts: 1,600
Thanks: 508
Thanked 271 Times in 243 Posts
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
Sponsored Links
    #5  
Old 04-26-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 2 July 2014, 9:24 AM EDT
Posts: 76
Thanks: 11
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #6  
Old 04-26-2013
rbatte1 rbatte1 is offline Forum Staff  
Moderator
 
Join Date: Jun 2007
Last Activity: 22 July 2014, 4:22 PM EDT
Location: Lancashire, UK
Posts: 1,600
Thanks: 508
Thanked 271 Times in 243 Posts
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
Sponsored Links
    #7  
Old 04-29-2013
RHCE RHCE is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 2 July 2014, 9:24 AM EDT
Posts: 76
Thanks: 11
Thanked 0 Times in 0 Posts
Hi,

Thanks but an example with the complete steps could help.

Regards
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to configure vnc on RHEL 6.1? rehantayyab82 Red Hat 6 01-21-2013 11:40 PM
RHEL 6.0 net configuration dillipkmrpadhy Red Hat 1 06-18-2012 09:44 AM
How to check DNS ip in RHEL 5? kathirr Red Hat 3 11-03-2011 02:56 PM
Who can give me a document for configure nagios on RHEL 5 zhengsenlin Red Hat 1 12-20-2009 10:09 PM
How to configure YUM in RHEL 4.0 daya.pandit Ubuntu 3 11-13-2008 06:32 AM



All times are GMT -4. The time now is 09:55 PM.