Operating System - Linux
1753500
Members
4469
Online
108794
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2011 06:56 AM
06-09-2011 06:56 AM
RHEL dns
How would you implement a dns as a cachee instance running local on a server to avoid huge dns lookups?
Thanks
Mike
Thanks
Mike
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2011 09:50 AM
06-09-2011 09:50 AM
Re: RHEL dns
On RHEL 5 and newer, by running "yum install caching-nameserver". This will give you the BIND name server daemon with an example configuration as "/etc/named.caching-nameserver.conf".
Copy the example configuration to /etc/named.conf. If you don't want (or aren't allowed) to use Internet root nameservers directly, you should add a few options to the configuration file to define the local nameservers your caching DNS server will use to get the data that is not already in the cache. For example, if your site's DNS servers are 1.2.3.4 and 5.6.7.8, add these lines to the "options {" section of the configuration file:
forwarders { 1.2.3.4; 5.6.7.8; };
forward only;
If you want to try the configured forwarders first, but fall back to contacting the Internet nameservers directly if the forwarder servers aren't responding, replace "forward only" with "forward first".
After creating your /etc/named.conf, run:
chkconfig named on
service named start
Use "nslookup 127.0.0.1" or "dig @127.0.0.1" to make sure your caching DNS server works, then change the "nameserver" line(s) in /etc/resolv.conf to point to 127.0.0.1.
You're done!
MK
Copy the example configuration to /etc/named.conf. If you don't want (or aren't allowed) to use Internet root nameservers directly, you should add a few options to the configuration file to define the local nameservers your caching DNS server will use to get the data that is not already in the cache. For example, if your site's DNS servers are 1.2.3.4 and 5.6.7.8, add these lines to the "options {" section of the configuration file:
forwarders { 1.2.3.4; 5.6.7.8; };
forward only;
If you want to try the configured forwarders first, but fall back to contacting the Internet nameservers directly if the forwarder servers aren't responding, replace "forward only" with "forward first".
After creating your /etc/named.conf, run:
chkconfig named on
service named start
Use "nslookup
You're done!
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP