I know that systemd-resolve --status
lists all my connections and their DNS servers and nmcli connection show <connection> | grep -i dns
will list the priority of the DNS connections. But is there a single command I can run that will list all DNS servers and their priority/order?
chizou's questions
I'm having some weird issue with Unity in 18.04.1. The system detects all three screens. However, the third screen is just a black screen, for the most part. What's strange here is the cursor shows up on the third monitor. In fact, the cursor is even aware of what would be there. It's the typing cursor instead of the pointing cursor (see the red box I drew around the cursor in the second image). When I use the Screenshot tool to get a screenshot that spans both monitors, it shows up correctly.
My company provides me a VPN connection that also hosts a DNS server for names that are internal to the VPN. Currently, it sets all my traffic to route through the VPN, which works but is undesirable. I'd like only DNS queries and VPN traffic to go over the VPN and everything else to go over the Internet. However, I'm not sure how to configure this in Network Manager. When I set Network Manager to only get IP addresses, it no longer automatically adds the DNS servers pushed by the OpenVPN server. How do I get it to work the way I mentioned?