Hello Friends, I've got some problem with my BIND that I can not find. Damn IDK what the hell that prob is. Here's my sys nfo and BIND conf.
OS: RHEL 5
Arch: I386
Bind version: 9.3.3
My machine IP: 192.168.1.11
eth0:1 IP: 192.168.1.15
named.conf
Code:
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";
query-source port 53;
query-source-v6 port 53;
allow-query { localhost; 192.168.1.0/24; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
view public {
match-clients { localhost; 192.168.1.0/24; };
match-destinations { localhost; 192.168.1.0/24; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
named.rfc1912.zones
Code:
...
...
...
zone "example.org" IN {
type master;
file "fwd.example.org";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "rev.example.org";
allow-update { none; };
};
fwd.example.org
Code:
$TTL 86400
@ IN SOA rhel5.example.org. root.rhel5.example.org. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS rhel5
IN MX 10 mail
rhel5 IN A 192.168.1.11
mail IN A 192.168.1.15
rev.example.org
Code:
$TTL 86400
@ IN SOA rhel5.example.org. root.rhel5.example.org. (
43 ; Serial
3H ; Refresh
15M ; Retry
1W ; Expire
1D ) ; Minimum
;
IN NS rhel5
11 IN PTR rhel5.example.org.
15 IN PTR mail.example.org.
The worse thing is, forward zone works but not reverse zone! I don't know why... localhost reverse zone working perfect though
even if I add new PTR record...
Can someone tell me what is wrong with me/BIND ?