User Tools

Site Tools


ubuntu:networking:dns:troubleshooting:dns_resolver_not_working

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:networking:dns:troubleshooting:dns_resolver_not_working [2021/01/10 21:36] peterubuntu:networking:dns:troubleshooting:dns_resolver_not_working [2021/01/13 10:17] (current) peter
Line 13: Line 13:
 <code bash> <code bash>
 systemd-resolve --status systemd-resolve --status
 +</code>
 +
 +----
 +
 +===== Check logs =====
 +
 +<code bash>
 +sudo journalctl -u systemd-resolved
 </code> </code>
  
Line 35: Line 43:
 sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
 </code> </code>
 +
 +Alternatively, try:
 +
 +<code bash>
 +sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
 +</code>
 +
 +
  
 </WRAP> </WRAP>
Line 60: Line 76:
  
 ---- ----
 +
 +
 +===== References =====
 +
 +https://wiki.archlinux.org/index.php/Systemd-resolved
 +
 +https://www.freedesktop.org/software/systemd/man/resolved.conf.html
 +
 +https://man.archlinux.org/man/systemd-resolved.8#/ETC/RESOLV.CONF
ubuntu/networking/dns/troubleshooting/dns_resolver_not_working.1610314582.txt.gz · Last modified: 2021/01/10 21:36 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki