Hi,
I followed the link that you had provided and saw the lessons. I tried to configure my DNS just like that, but it is still not working. I am sure I am making some silly mistake. I am just pasting my conf files below. kindly do look into the config and let me know where i am wrong.
/etc/named.conf
----------------------
// generated by named-bootconf.pl
//
// a caching only nameserver config
//
options {
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
directory "/var/named";
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." {
type hint;
file "named.ca";
};
zone "localhost" {
allow-update { none; };
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" {
allow-update { none; };
type master;
file "named.local";
};
zone "vk.com" {
type master;
file "vk.com.zone";
};
zone "10.168.192.in-addr.arpa" {
type master;
file "10.168.192.in-addr.arpa.zone";
};
include "/etc/rndc.key";
/var/named/vk.com.zone
---------------------------------
$TTL 86400
@ IN SOA server1.vk.com. root.vk.com (
11 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
)
vk.com. IN CNAME example.com.
IN NS 192.168.10.99
A IN A 192.168.10.99
/var/named/10.168.192.in-addr.arpa.zone
---------------------------------------------------------
$TTL 86400
@ IN SOA server1.vk.com. root.vk.com. (
7 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
)
99 IN PTR
www.vk.com.
Please help.