To configure Slave DNS in SuSE we consider before we have Primary DNSAnd edit file in /etc/named.conf
# The following zone definitions don't need any modification. The first one
# is the definition of the root name servers. The second one defines
# localhost while the third defines the reverse lookup for localhost.zone "." in {
type hint;
file "root.hint";
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "angkor.biz" in {
type slave;
file "slave/angkor.biz.zone";
masters {192.168.65.46; };
};
zone "65.168.192.in-addr.arpa" in {
type slave;
file "slave/65.168.192.zone";
masters {192.168.65.46; };
};
And save it.Don't forget for reserve name edit file in /etc/resolv.conf
search angkor.biz
nameserver 192.168.65.46
And restart service dns by
Omeka#rcnamed restartAnd check
#ll /var/lib/named/slave
Enjoy!
0 comments:
Post a Comment