- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Configuring DNS SERver on RH A.S
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
05-09-2006 09:31 AM
05-09-2006 09:31 AM
Somebody knows how can i configure a DNS Server using Red Hat ?
Thnx for ur help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 10:39 AM
05-09-2006 10:39 AM
Re: Configuring DNS SERver on RH A.S
http://www.brennan.id.au/08-Domain_Name_System_BIND.html
http://www.linuxhomenetworking.com/linux-hn/dns-static.htm
You must:
Install the package.
Configure your named.conf file
Configure and populate the zone files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 05:47 PM
05-09-2006 05:47 PM
Re: Configuring DNS SERver on RH A.S
You can use RH doc http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ (Chapter 12.1) as well.
If you can tell us more about your environment, we'll be able to suggest the optimal DNS design.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 08:22 PM
05-09-2006 08:22 PM
Re: Configuring DNS SERver on RH A.S
Once you configure it using the above mentioned url's. also have a look at this:
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-mistakes.html
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 02:04 AM
05-10-2006 02:04 AM
Re: Configuring DNS SERver on RH A.S
thax for ur answers. I have installed Redhat AS Update5. This server is on a DMZ.
These are my configurations files:
/etc/named.conf
[root@salcto-apl09 etc]# more named.conf
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN
{
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "taca.com" IN {
type master;
file "taca.com";
allow-update {
127.0.0.1;
172.17.10.5;
};
};
include "/etc/rndc.key";
+===========================================
/var/named/taca.com
$TTL 604800
(EN) IN SOA salcto-apl09.taca.com. root.salcto.taca.com. (
2002111502 ; serial
86400 ; refresh
7200 ; retry
2592000 ; expire
172800 ; default_ttl
)
(EN) IN NS salcto-apl09.taca.com.
salcto-apl09 IN A 172.17.10.5
========================================
/etc/resolv.conf
search taca.com
nameserver 127.0.0.1
nameserver 172.17.10.5
=========================================
/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
172.17.10.5 salcto-apl09 salcto-apl09.taca.com
I start the named service but in /var/log/messages i get this messages:
May 10 08:05:52 salcto-apl09 named[2225]: dns_master_load: taca.com:9: EN.taca.com: not at top of zone
May 10 08:05:52 salcto-apl09 named[2225]: zone taca.com/IN: loading master file taca.com: not at top of zone
========================================
Because this server is in DMZ, do i need to use the IP intenal or NAT IP?
Thx for ur help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 02:17 AM
05-10-2006 02:17 AM
Solution$ORIGIN taca.com.
$TTL 604800
@ IN SOA salcto-apl09.taca.com. root.salcto.taca.com. (
2002111502 ; serial
86400 ; refresh
7200 ; retry
2592000 ; expire
172800 ; default_ttl
)
@ IN NS salcto-apl09.taca.com.
salcto-apl09 IN A 172.17.10.5
And you should use external (legal) IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 03:51 AM
05-10-2006 03:51 AM
Re: Configuring DNS SERver on RH A.S
$ORIGIN taca.com
but ...
[root@salcto-apl09 ftp]# named-checkzone example.com /var/named/taca.com
dns_master_load: /var/named/taca.com:3: SOA record not at top of zone (EN.taca.com.example.com)
zone example.com/IN: loading master file /var/named/taca.com: not at top of zone
i get same errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 06:35 AM
05-10-2006 06:35 AM
Re: Configuring DNS SERver on RH A.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 01:22 AM
05-12-2006 01:22 AM
Re: Configuring DNS SERver on RH A.S
Step by step configuration of DNS server for Redhat 9 is available on the following link.
http://www.xenocafe.com/tutorials/dns_linux/redhat/dns_linux_redhat-part1.php
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 02:46 AM
05-15-2006 02:46 AM