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
computers:dns_server_configuration [2020/08/16 01:29] – [References] 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 =====
computers/dns_server_configuration.1597512578.txt.gz · Last modified: 2020/08/16 01:29 by chkuo