1
edit
Changes
→Edit /etc/named.conf
*Edit the file /etc/named.conf and enter the following: But use your own X value where applicable. If no file exists, create one. If one is already there, renamed it and make a new one.
options {
directory "/var/libnamed/named";
auth-nxdomain no;
forwarders { 142.204.1.2; 142.204.43.43;};
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "X.168.192.in-addr.arpa" {
type master;
file "mydb-for-192-168-X";
};
zone "<learnid>.org" {
type master;
};
*Make a new directory called 'named', like this mkdir /var/lib/named *Now edit Create the file /var/lib/named/localhost.zone and enter the following: $TTL 6048003D @ IN SOA localhostf16<learnid>. rootorg.localhost<learnid>@. <learnid> (
1 ; Serial
;
@ IN NS localhost.