linux_maintenance_network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_maintenance_network [2019/10/18 20:04] – external edit 127.0.0.1linux_maintenance_network [2021/01/07 11:33] (current) andonovj
Line 95: Line 95:
 </sxh> </sxh>
  
 +===Modify DNS Search (Ubuntu)===
 +To modify the DNS search location use the following commands:
 +
 +<Code:bash|Modify DNS Search domain>
 +lackbox@ubuntu:~$ sudo su - 
 +[sudo] password for flackbox: 
 +root@ubuntu:~# nmcli c modify "Wired connection 1" ipv4.dns-search "flackboxA.lab"
 +root@ubuntu:~# 
 +root@ubuntu:~# 
 +root@ubuntu:~# nmcli c down "Wired connection 1" && nmcli c up "Wired connection 1"
 +Connection 'Wired connection 1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)
 +Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)
 +root@ubuntu:~# 
 +root@ubuntu:~# 
 +root@ubuntu:~# 
 +root@ubuntu:~# 
 +root@ubuntu:~# 
 +</Code>
 +
 +That command will modify the "Wired Connection 1" settings to search for flackboxA.lab domain.
  • linux_maintenance_network.1571429096.txt.gz
  • Last modified: 2019/10/18 20:04
  • by 127.0.0.1