Hello everyone,
I have spent hours trying to figure this out but don't think am going anywhere near.
So the Question is:
Create a brand new forward zone for domain "sillynet.net" in the named configuration directory /var/named/. For this you should create a new zone file called "sillynet.zone" (copying named.localhost to sillynet.zone might be a good starting point). Add this file, along with its zone information, to the configuration file /etc/named.conf.
This zone should give:
sillynet.net -> IP address 12.0.0.20
www.sillynet.net -> IP address 12.0.0.30
Hints. It is a master type. The zone file must be readable by the user "named". Remember to use "service named reload" when you change the config file.
Now the things which I have to check are as follows:
sillynet.zone has A record for .20 PASSED
sillynet.zone has A record for .30 PASSED
sillynet.zone has ZONE record in named.conf PASSED
Check sillynet.net resolves FAILED
Check www.sillynet.net resolves FAILED
A. "named.conf" file:
options {
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; };
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 "sillynet.net" IN {
type master;
file "sillynet.zone";
allow-update(none;
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
B. "sillynet.zone" file:
$TTL 1D
@ IN SOA @ rname.invalid. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS @
sillynet.net A 12.0.0.20
www.sillynet.net A 12.0.0.30
This where I'm not able to get it right. Dunno what should I do. Can anyone please help as soon as possible.