- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
on 04-18-2019 02:56 AM - edited on 10-07-2019 08:50 AM by Retired Member
If needed, the steps to statically configure a DNS server to the Expedition server will be to edit the dns-nameserver in the /etc/network/interfaces file.
Editing resolv.conf is not reliable as any edits will be overwritten on reboot of the Expedition server.
expedition@Expedition:/etc/network$ sudo vi interfaces
Configured to use DHCP
# 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
auto ens33
iface ens33 inet dhcp
dns-nameservers 8.8.8.8 4.2.2.2
Configured with a static IP
# 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
auto ens33
iface ens33 inet static
address 192.168.252.136
netmask 255.255.255.0
gateway 192.168.252.2
dns-nameservers 8.8.8.8 4.2.2.2