DNS Server On Linux
(RedHat9 below)
Type: System v-launched daemon
Software Package: Bind, Bind-Utils
Daemon: Named
Script: Named
Port: 53 / UDP, 53 / TCP
Profile: /etc/named.conf ,/var/named/*
Auxiliary Tools: Bindconf, OpenSSL, CACHING-NAMESERVER
step:
[Note:] Because the latest version of Linux provides "cage protection", the profile on the upper side corresponds to: /var/named/chroot/etc/named.conf ,/var/named/chroot/var/named/*
1. Edit Named.conf file:
...
"in {
Type hint;
File "named.ca";
Allow-update {none;};
}
ZONE "thizlinux.com.cn" in {
TYPE MASTER;
File "thizlinux.zone";
Allow-update {none;};
Zone "43.99.211.in-addr.Arpa" in {
TYPE MASTER;
File "43.99.211.zone";
Allow-update {none;};
}
...
2. Edit: /var/named/chroot/etc/named.conf ,/var/named/chroot/var/named / under related database file () [Note:] After the RPM of the associated bind is installed, the corresponding BIND is installed Template files can be found.
3. Start service: Service named start / restart