HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Configuring DNS server
Operating System - Linux
1828451
Members
3644
Online
109978
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
Forums
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
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
09-12-2006 07:51 PM
09-12-2006 07:51 PM
Configuring DNS server
We have configured complete DNS server. we had mad changes in /etc/named.conf and renamed the files as:
localhost.zone to rhce.for
named.local to rhce.rev
and copied the files respectively as mentioned above.
we changed our hostname to rhce.server.com and we made appropriate changes in both rhce.for & rhce.rev.
we are facing some problems, the following error is giving that when we restart the named service by giving a command : " service named restart"
Stopping named : rndc: couldn't find server 'localhost' : Temporary failure in name resolution.
can you please explain me how to configure DNS server in Red Hat Enterprise Edition 4 or in Fedora Core 2
Thanking You,
Lakshmi Narayanan
localhost.zone to rhce.for
named.local to rhce.rev
and copied the files respectively as mentioned above.
we changed our hostname to rhce.server.com and we made appropriate changes in both rhce.for & rhce.rev.
we are facing some problems, the following error is giving that when we restart the named service by giving a command : " service named restart"
Stopping named : rndc: couldn't find server 'localhost' : Temporary failure in name resolution.
can you please explain me how to configure DNS server in Red Hat Enterprise Edition 4 or in Fedora Core 2
Thanking You,
Lakshmi Narayanan
The shortest way to do many things is to do only one thing at once
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 01:05 AM
09-13-2006 01:05 AM
Re: Configuring DNS server
You cannot delete localhost/localdomain records/zones.
As for DNS tutorial - you can use RH docs http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ch-bind.html
or http://yolinux.com/TUTORIALS/LinuxTutorialWebSiteConfig.html#DNS
Rgds,
Vitaly
As for DNS tutorial - you can use RH docs http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ch-bind.html
or http://yolinux.com/TUTORIALS/LinuxTutorialWebSiteConfig.html#DNS
Rgds,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 02:05 AM
09-14-2006 02:05 AM
Re: Configuring DNS server
Leave the localhost.zone and named.local files alone. If anything, just copy them to new names, and modify the copies.
You'll want at least one "forward" lookup file, and one "reverse" lookup for each separate subnet.
For example:
mydomain.com.db
10.1.1.in-addr.arpa.db
After making these files (model them after examples localhost.zone, etc), you need to modify the /etc/named.conf file, so that DNS knows about the domain you are serving.
Again, you should be able to follow examples in the comment section of /etc/named.conf.
It's only 4-5 lines, something like:
zone "mydomain.com" IN {
type master;
file "mydomain.com.db;
}
zone "10.1.1.in-addr.arpa" IN {
type master;
file "10.1.1.in-addr.arpa.db";
}
-tjh
You'll want at least one "forward" lookup file, and one "reverse" lookup for each separate subnet.
For example:
mydomain.com.db
10.1.1.in-addr.arpa.db
After making these files (model them after examples localhost.zone, etc), you need to modify the /etc/named.conf file, so that DNS knows about the domain you are serving.
Again, you should be able to follow examples in the comment section of /etc/named.conf.
It's only 4-5 lines, something like:
zone "mydomain.com" IN {
type master;
file "mydomain.com.db;
}
zone "10.1.1.in-addr.arpa" IN {
type master;
file "10.1.1.in-addr.arpa.db";
}
-tjh
I learn something new everyday. (usually because I break something new everyday)
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP