This commit is contained in:
John 2022-12-29 09:32:10 +01:00
parent f9533c9652
commit f4463c2ca8
1 changed files with 17 additions and 5 deletions

View File

@ -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
```