Quote:
Originally Posted by blrk_macet this is my named.conf file. please check whether i have configured correctly or should i hav to change anything else in this
//
// 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; 192.168.0.202; };
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 { 192.168.0.0/24; 127.0.0.1;};
allow-recursion { 192.168.0.0/24; 127.0.0.1;};
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside . trust-anchor dlv.isc.org.;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "macet.com" {
type master;
file "/var/named/macet.com.db";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.dnssec.keys";
include "/etc/pki/dnssec-keys/dlv/dlv.isc.org.conf";
-------------------------------------------------------------------
; Zone File for macet.com
$TTL 86400
@ IN SOA @ mail.macet.com. (
42 ; serial (d.adams)
3H ; refresh
15M ; retry
1W ; expiry
1D
)
@ IN NS mail.macet.com.
IN MX 10 mail.macet.com.
IN A 192.168.0.202
mail IN A 192.168.0.202
www IN A 192.168.0.202 |
EDIT YOUR NAMED.CONF FILES AND ADD THE HIGHLIGHTED:
options {
directory "/var/named";
forwarders {
10.1.1.3;
};
};
Note that the "forwarder should be inside the options.
Or Preferably configure another DNS server and use it as a forwarder. Your Mail server should then be configured to query the new DNS, make it the first nameserver.
NOTE: make a backup of your named.conf before editing it!