Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 10163  / 1 Year ago, tue, may 2, 2023, 3:45:00

So the Ubuntu server is configured with netplan and the renderer is: networkd.



How does one see the active DNS Server ? i.e. there is no NetworkManager.


More From » netplan

 Answers
1

When using netplan (17.10 Artful Ardvark on) and the renderer is:
networkd, there is no NetworkManager so the nmcli commands do not apply. The cat /etc/resolv.conf simply shows the nameserver to be 127.0.0.53, not very helpful really ;-)



To get the nameservers.



ubuntu@ub-17-10:~$ systemd-resolve --status | sed -n '/DNS Servers/,/^$/p'
DNS Servers: 192.168.92.201
8.8.8.8
DNS Domain: netlabsug.tst

[#9731] Wednesday, May 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fatuatexen

Total Points: 451
Total Questions: 107
Total Answers: 110

Location: Trinidad and Tobago
Member since Thu, Apr 27, 2023
1 Year ago
;