Hi
I had configured DNS(bind named), every thing is working fine except my reverse lookup zone file, its is not replicating on my slave server please find my configuration files
configuration file on the master server
zone files
example.fwd
example.rev
---------- Post added at 07:29 PM ---------- Previous post was at 07:23 PM ----------
configuration file on the slave server
zone file entry on the slave server
I had configured DNS(bind named), every thing is working fine except my reverse lookup zone file, its is not replicating on my slave server please find my configuration files
configuration file on the master server
HTML Code:
include "/etc/transfer.key";
acl mylan { 192.168.20.0/24 ;};
options {
listen-on port 53 { 127.0.0.1; 192.168.20.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";
// Those options should be used carefully because they disable port
// randomization
// query-source port 53;
// query-source-v6 port 53;
allow-transfer { key server-client.;};
allow-query { localhost; mylan; any; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; mylan; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
HTML Code:
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "example.com" IN {
type master;
file "example.fwd";
};
zone "20.168.192.in-addr.arpa" IN {
type master;
file "example.rev";
};
HTML Code:
$TTL 86400
@ IN SOA server.example.com. root.server.example.com. (
46 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS server.example.com.
IN NS client.example.com.
server IN A 192.168.20.1
client IN A 192.168.20.2
station IN A 192.168.20.3
HTML Code:
$TTL 86400
@ IN SOA server.example.com. root.server.example.com. (
45 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS server.example.com.
1 IN PTR server.example.com.
2 IN PTR client.example.com.
3 IN PTR station.example.com.
---------- Post added at 07:29 PM ---------- Previous post was at 07:23 PM ----------
configuration file on the slave server
HTML Code:
include "/etc/transfer.key";
server 192.168.20.1 {
keys { server-client.; };
};
acl mylan { 192.168.20.0/24 ;};
options {
listen-on port 53 { 127.0.0.1; 192.168.20.2; };
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";
// Those options should be used carefully because they disable port
// randomization
// query-source port 53;
// query-source-v6 port 53;
allow-notify { localhost; };
allow-query { localhost; mylan; any; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; mylan; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
HTML Code:
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "linux4tech.com" IN {
type slave;
file "slaves/linux4tech.fwd";
masters { 192.168.20.1; };
};
zone "20.168.192.in-addr.arpa" IN {
type slave;
file "slaves/linux4tech.rev";
masters { 192.168.20.1; };
};