Difference between revisions of "Ubuntu"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
The few things I needed to tweak are listed here. | The few things I needed to tweak are listed here. | ||
− | === | + | ===DNS resolving=== |
− | In release 14 the NetworkManager by default starts dnsmasq that makes your system act as forwarding DNS-server (127.0.1.1 in /etc/resolv.conf). | + | |
+ | In bionic-beaver (release 18.04) in /etc/NetworkManager/NetworkManager.conf put the line <code>set dns=default</code> in the [main] section. | ||
+ | |||
+ | Since release 14 the NetworkManager by default starts dnsmasq that makes your system act as forwarding DNS-server (127.0.1.1 in /etc/resolv.conf). | ||
This local server sometimes is not working properly so disable it. | This local server sometimes is not working properly so disable it. | ||
In /etc/NetworkManager/NetworkManager.conf comment out the line: "dns=dnsmasq" | In /etc/NetworkManager/NetworkManager.conf comment out the line: "dns=dnsmasq" | ||
/etc/resolv.conf will now show the DNS-server(s) provided by DCHP (if you use that). | /etc/resolv.conf will now show the DNS-server(s) provided by DCHP (if you use that). | ||
− | |||
− |
Revision as of 21:13, 15 September 2018
Ubuntu is a linux distribution derived from debian. It's a very nice plug&play OS with all features I need.
- cat /etc/os-release
- cat /etc/lsb-release
- lsb_release -a
- Show the currently installed version. os-release has most information.
Modfications made
The few things I needed to tweak are listed here.
DNS resolving
In bionic-beaver (release 18.04) in /etc/NetworkManager/NetworkManager.conf put the line set dns=default
in the [main] section.
Since release 14 the NetworkManager by default starts dnsmasq that makes your system act as forwarding DNS-server (127.0.1.1 in /etc/resolv.conf). This local server sometimes is not working properly so disable it.
In /etc/NetworkManager/NetworkManager.conf comment out the line: "dns=dnsmasq" /etc/resolv.conf will now show the DNS-server(s) provided by DCHP (if you use that).