25 July 2022

Server DNS BIND9 di Debian 11

Catatan instalasi DNS Server BIND9 pada Debian 11.

Debian 11 dapat didownload di https://www.debian.org/download

Untuk Debian 11 versi minimal / versi netinstall 


Contoh Setting Static IP di Debian 11

/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth1
#iface eth1 inet dhcp
auto eth1
iface eth1 inet static
       address 192.168.10.22
       netmask 255.255.255.0
       network 192.168.10.0
       broadcast 192.168.10.255
       dns-nameservers 192.168.10.1
       gateway 192.168.10.1

# This is an autoconfigured IPv6 interface
#iface eth1 inet6 auto


GANTI HOSTNAME misal ke ns1
hostnamectl set-hostname ns1



NETWORKING RESTART
systemctl restart networking        


Bahan bacaan :

Setting server DNS BIND9 di Ubuntu

Setting server DNS BIND9 sebagai MASTER DNS di Debian

The net-tools collection





No comments: