I have added following lines in named.conf
Code: Select all
zone "facebook.com" {
type master;
file "/var/named/facebook.com.db";
};
Code: Select all
$TTL 86400
@ IN SOA ns1.facebook.com. useremail.facebook.com. (
2001062501 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ;expire after 1 week
3600 ;minimum TTL 1 hour
)
IN NS ns1.facebook.com.
IN NS ns2.facebook.com
IN MX 10 mail.facebook.com.
IN A 127.0.0.1
mail IN A 127.0.0.1
www IN CNAME facebook.com.
ns1 IN A 127.0.0.1
ns2 IN A 10.0.0.1
Code: Select all
[root@parada named]# named-checkzone facebook.com. /facebook.com.db
zone facebook.com/IN: loading from master file /facebook.com.db failed: file not found
zone facebook.com/IN: not loaded due to errors.