본문 바로가기

OS/Linux

Ubuntu nameserver 변경.

vi /etc/network/interfaces


# The primary network interface

auto eth0

iface eth0 inet static

        address 172.16.118.50

        netmask 255.255.0.0

        network 172.16.0.0

        broadcast 172.16.255.255

        gateway 172.16.0.1

        # dns-* options are implemented by the resolvconf package, if installed

        dns-nameservers 8.8.8.8

        dns-search open-ims.test



sudo ifdown eth0 && sudo ifup eth0


'OS > Linux' 카테고리의 다른 글

windows 원격 linux wireshark 캡쳐 pcap  (0) 2019.06.24
ubuntu hostname 변경.  (0) 2018.09.18
You could try using --skip-broken to work around the problem  (0) 2016.05.27
Mysql Backup and Restore  (0) 2016.04.25
CentOS apache php mysql 환경설졍  (0) 2016.04.25