DNS fungerar inte på ubuntu: Difference between revisions

From Linuxwiki
Jump to navigation Jump to search
Linuxwiki>Wikiadmin
No edit summary
m 4 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 10: Line 10:
Ovanstående kommer från http://forum.linuxmint.com/viewtopic.php?f=157&t=131369 och nedan är det på engelska.
Ovanstående kommer från http://forum.linuxmint.com/viewtopic.php?f=157&t=131369 och nedan är det på engelska.


- /etc/NetworkManager/NetworkManager.conf - comment out the "dns=dnsmasq" line (put # before this)
- /etc/NetworkManager/NetworkManager.conf - comment out the "dns=dnsmasq" line (put # before this)
- /etc/resolvconf/resolv.conf.d/tail - make the file empty
- /etc/resolvconf/resolv.conf.d/tail - make the file empty
- reboot (no, restarting NM is not enough)
- reboot (no, restarting NM is not enough)


[[Category:nätverk]]
[[Category:DNS]]
[[Category:DNS]]
[[Category|DHCP]]
[[Category:DHCP]]

Latest revision as of 21:53, 11 May 2026

Ubuntu, Linux Mint mfl läser inte in korrekt DNS från DHCP-servern


För att rätta till detta, kommentera bort dns=dnsmasq i filen /etc/NetworkManager/NetworkManager.conf (sätt ett #-tecken före). Gör filen /etc/resolvconf/resolv.conf.d/tail tom.


Starta om datorn då det inte räcker med att starta om NetworkManager.


Ovanstående kommer från http://forum.linuxmint.com/viewtopic.php?f=157&t=131369 och nedan är det på engelska.

- /etc/NetworkManager/NetworkManager.conf - comment out the "dns=dnsmasq" line (put # before this)
- /etc/resolvconf/resolv.conf.d/tail - make the file empty
- reboot (no, restarting NM is not enough)