Linux / UNIX Tech Support Forum
This is a discussion on Bind start problem within the Domain Name Server forums, part of the Mastering Servers category; Hi Friends, hello frends I am using RHEL5 and trying to configure bind dns. when I copying sample files from ...
|
|||||||
| Domain Name Server Discussion on domain name server including BIND and other servers. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi Friends,
hello frends I am using RHEL5 and trying to configure bind dns. when I copying sample files from /usr/share/doc/bind*/sample/{etc and /var/named} to respective locations and after defining zones in named.conf, i tried to start named service but it prompts an error named.root.hints file not found. When I copy the named.root.hints by, Code:
#cp /usr/share/doc/bind-9.x.x/sample/etc/named.root.hints /var/named/chroot/etc Code:
#service named restart Thanx in advance Last edited by nixcraft; 12-06-2009 at 03:11 PM. Reason: added [code] tags |
| Sponsored Links | ||
|
|
|
||||
|
Please have a look at this page. You need to check your configuration. Also confirm that your sample data is in the correct location and there are no characters out of place:
Bind start problem Jaysunn |
|
|||
|
Hello
I have already created zone file of named.conf. I have done following steps, Code:
# vi /var/named/chroot/etc/named.conf Code:
zone "mydomain.com" {
type master;
file "mydomain.com.zone";
allow-transfer { none; };
};
Code:
# cd /var/named/chroot/var/named # cp localhost.zone mydomain.com.zone # vi mydomain.com.zone Code:
$TTL 86400 ; 24 hours could have been written as 24h or 1d
$ORIGIN mydomain.com.
@ 1D IN SOA ns1.mydomain.com. root.mydomain.com. (
2002022401 ; serial
3H ; refresh
15 ; retry
1w ; expire
3h ; minimum
)
IN NS ns1.mydomain.com. ; in the domain
IN MX 10 mail.mydomain.com. ; external mail provider
; server host definitions
ns1 IN A 192.168.0.1 ;name server definition
www IN A 192.168.0.2 ;web server definition
# service named restart
-Yogesh Last edited by nixcraft; 12-06-2009 at 03:12 PM. Reason: added [code] tags |
|
||||
|
Put named.root.hints in /var/named/chroot/etc. Also make sure it is as follows:
Code:
grep named.root.hints named.conf
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| bind , named , redhat chroot bind , redhat named , rhel named |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Migration from Linux BIND to Windows DNS | runbeagle | Domain Name Server | 3 | 26-05-2009 07:30 AM |
| Shell Script For Dns BIND Server Configuration | ramjgn | Shell scripting | 4 | 24-03-2009 06:32 PM |
| Setting Samba to Bind to an ADS Domain | kevv.mai | Getting started tutorials | 0 | 20-04-2008 01:47 AM |
| BIND Name resolution | kasimani | Linux software | 1 | 06-10-2006 12:42 AM |
| BIND 9 and Query-Source | Ashish Pathak | Linux software | 2 | 07-02-2005 12:42 PM |