User Tools

Site Tools


computers:dns_server_configuration

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
computers:dns_server_configuration [2020/08/16 01:24] chkuocomputers:dns_server_configuration [2020/08/16 01:53] (current) chkuo
Line 84: Line 84:
 </code> </code>
  
 +check the "Current DNS Server"
 +<code bash>
 +systemd-resolve --status
 +</code>
  
 +To set BIND as the default resolver, edit ''/etc/systemd/resolved.conf''
 +In the [Resolve] section, add ''DNS=127.0.0.1''
 +<code bash>
 +# restart and check again
 +sudo systemctl restart systemd-resolved
 +systemd-resolve --status
 +</code>
  
 ===== Test ===== ===== Test =====
Line 135: Line 146:
 ===== References ===== ===== References =====
   * [[https://help.ubuntu.com/10.04/serverguide/C/dns.html]]   * [[https://help.ubuntu.com/10.04/serverguide/C/dns.html]]
 +  * [[https://www.linuxbabe.com/ubuntu/set-up-local-dns-resolver-ubuntu-20-04-bind9]]
  
  
computers/dns_server_configuration.1597512244.txt.gz · Last modified: 2020/08/16 01:24 by chkuo