[root@localhost ~]# ifconfig
[root@localhost ~]# ifconfig ens33 up
[root@localhost ~]# vi /etc/rc.local
[root@localhost ~]# nameserver 192.168.1.1
[root@localhost ~]# ifconfig
[root@localhost ~]# ifconfig ens33 up
[root@localhost ~]# vi /etc/rc.local
[root@localhost ~]# nameserver 192.168.1.1