ethernet
This commit is contained in:
parent
f9533c9652
commit
f4463c2ca8
|
@ -6,15 +6,15 @@ created: 2021-05-04 14:58:11Z
|
|||
|
||||
# Ethernet
|
||||
|
||||
## Change mac address:
|
||||
## Change mac address
|
||||
|
||||
macchanger <device> -r
|
||||
|
||||
## local ip address:
|
||||
## local ip address
|
||||
|
||||
hostname -I
|
||||
|
||||
## public ip address:
|
||||
## public ip address
|
||||
|
||||
curl ipinfo.io/ip
|
||||
|
||||
|
@ -37,10 +37,22 @@ wavemon
|
|||
|
||||
nmcli connection show
|
||||
|
||||
## which DNS server in use:
|
||||
## which DNS server in use
|
||||
|
||||
( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS
|
||||
nm-tool | grep DNS
|
||||
|
||||
[Unbound](https://aacable.wordpress.com/2019/12/10/short-notes-for-unbound-caching-dns-server-under-ubuntu-18/)
|
||||
|
||||
[Unbound](https://aacable.wordpress.com/2019/12/10/short-notes-for-unbound-caching-dns-server-under-ubuntu-18/)
|
||||
```bash
|
||||
sudo vi dns_servers.conf
|
||||
```
|
||||
|
||||
enter:
|
||||
|
||||
[Resolve]
|
||||
DNS=76.76.2.3 76.76.10.3
|
||||
|
||||
```bash
|
||||
sudo systemctl restart systemd-resolved
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue