Dear All
I have a CentOS 6.3 machine. I am trying to setup DNS BIND setup in that
machine. It is having a static global IP. I have done lot of reading ,
google search and tried all possible option, but still not able to resolve
the issue.
My named.conf looks as below.
*
*
*
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; 10.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
query-source address * port 53;
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 10.0.0.1/24; 10.0.0.254/24; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};zone "netcloudjobs.com" {
type master;
file "netcloudjobs.com.fwd";
allow-update { none; };
};
zone "189.201.173.in-addr.arpa" {
type master;
file "netcloudjobs.com.rev";
allow-update { none; };
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
*
Next my forward zone file looks as below
*
$TTL 86400
@ IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
2021071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
@ IN NS ns1.netcloudjobs.com.
@ IN NS ns2.netcloudjobs.com.
ns1 IN A 173.201.189.43
ns2 IN A 173.201.189.43
*
And my reverse zone file looks as
*$TTL 86400
@ IN SOA ns1.netcloudjobs.com. root.netcloudjobs.com. (
2021071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
@ IN NS ns1.netcloudjobs.com.
@ IN NS ns2.netcloudjobs.com.
ns1 IN A 173.201.189.43
ns2 IN A 173.201.189.43
43 IN PTR ns1.netcloudjobs.com.
44 IN PTR ns2.netcloudjobs.com.
*
I hope I am doing something wrong with configuration. I have done this
since more than 60 hours. Still I am not able to resolve
ns1.netcloudjobs.com.
Can somebody help here.
Best Regards
Austin