Good morning,
I don't understand where and why I encounterd an error if I follow some instructions. In the next rounds I will be posted all settup, maybe somebody can help me. First of all I want to specify that I installed bind9 on virtualbox under platform of linux CentOS 6.3. The base platform where is installed virtual machine is linux Ubuntu. So:
>
vi /etc/named.conf
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
query-source address * port 53;
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 "my_site.com" {
type master;
file "my_site.com.fwd";
};
zone "2.0.10.in-addr.arpa" {
type master;
file "my_site.com.rev";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
>
vi my_site.com.fwd
$ORIGIN my_site.com.
$TTL 3D
@ SOA serverCAE. root.my_site.com. (12 4h 1h 1w 1h)
@ IN NS serverCAE.
serverCAE. IN A 10.0.2.15
www IN A 10.0.2.15
>
vi my_site.com.rev
$ORIGIN 2.0.10.in-addr.arpa.
$TTL 3D
@ SOA serverCAE. root.my_site.com. (12 4h 1h 1w 1h)
@ IN NS serverCAE.
211 IN PTR serverCAE.
>
service named restart
OK
OK
>
cat /etc/resolve.conf
nameserver 10.0.2.15
>
nslookup www.my_site.com
Server: 10.0.2.2
Address: 10.0.2.2#53
** server can't find
www.my_site.com: SERVFAIL
>
nslookup 10.0.2.15
Server: 10.0.2.2
Address: 10.0.2.2#53
** server can't find 15.2.0.10.in-addr.arpa.: NXDOMAIN
>
dig @www.my_site.com
dig: couldn't get address for 'www.my_site.com': not found
>
dig @10.0.2.15
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.5 <<>> @10.0.2.15
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
Thats all.
Somebody can help me with some ideea or sugestion about manner in which I can made functional bind9? Any sugestion, ideea or tutorial which can help me is blessing.
Thank you in advance for support.
Recent comments
4 hours 37 min ago
5 hours 37 min ago
9 hours 24 min ago
10 hours 38 min ago
14 hours 14 min ago
21 hours 29 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 22 hours ago
2 days 1 hour ago