본문 바로가기

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' 카테고리의 다른 글