I've tried many times over to configure a DNS server. This doesn't seem to be working out well. I always get this error.
Code:
[root@mun-175-25 ~]# service named start
Starting named:
Error in named configuration:
zone localdomain/IN: loaded serial 42
zone localhost/IN: loaded serial 42
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
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: loaded serial 1997022700
zone example.com/IN: loading master file db.example.com: file not found
_default/example.com/IN: file not found
[FAILED]
I'm doing this straight out of a book so we have "example.com"
The "db.example.com" exists in the /var/named directory but it cannot be found. This is the configuration:
Code:
[root@mun-175-25 ~]# vi /var/named/db.example.com
$TTL 86400
@ IN SOA example.com.
hostmaster.example.com. (
2005072001 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86499 ) ; minimum
; Name Servers
IN NS ns1.example.com.
IN NS
;ns2.secondaryDNSserver.com.
; Mail server for domain
; Public servers
ftp IN A 192.168.0.1
;EOF
I don't know where I've gone wrong here but this is driving me crazy! Help Me Please!!!