Ubuntu Server 18.04 – Setup DNS, DHCP And Static IP
Ubuntu Server 18.04 – Setup DNS, DHCP And Static IP Address
This video shows how to from the start how to setup a static IP address on Ubuntu Server 18.04. It then shows how to setup the DNS server and DHCP server.
This is for Windows users to understand how to setup a Ubuntu Server.
The commands and config settings are below:
sudo apt install bind9
sudo nano /etc/bind/named.conf.options
sudo systemctl restart bind9
systemctl status bind9
sudo nano /etc/netplan/50-cloud-init.yaml
sudo apt install isc-dhcp-server
sudo nano /etc/default/isc-dhcp-server
sudo systemctl stop isc-dhcp-server
sudo systemctl start isc-dhcp-server
—————-
acl goodcomputers {
192.168.0.0/24;
localhost;
localnets;
};
recursion yes;
allow-query { goodcomputers; };
forwarders {
192.168.0.1;
};
__________
network:
ethernets:
ens33:
addresses: [192.168.0.2/24]
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.2]
dhcp4: no
version: 2
For more visit:
https://www.windows10.ninja .
Comments are closed.