computers:dns_server_configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computers:dns_server_configuration [2020/08/15 22:21] – [Installation] chkuo | computers:dns_server_configuration [2020/08/16 01:53] (current) – chkuo | ||
---|---|---|---|
Line 58: | Line 58: | ||
<code bash> | <code bash> | ||
sudo mkdir -p / | sudo mkdir -p / | ||
+ | sudo chown bind:bind / | ||
</ | </ | ||
- | |||
- | restart service | ||
- | <code bash> | ||
- | sudo / | ||
- | </ | ||
- | |||
note: | note: | ||
the log directory "/ | the log directory "/ | ||
Line 74: | Line 69: | ||
</ | </ | ||
this part would need to be changed if a custom log directory is used. | this part would need to be changed if a custom log directory is used. | ||
- | ===== Activation ===== | + | |
- | To start/stop/restart | + | |
+ | start service | ||
+ | <code bash> | ||
+ | # enable auto start at boot time: | ||
+ | sudo systemctl enable named | ||
+ | # start | ||
+ | sudo systemctl start named | ||
+ | </code> | ||
+ | |||
+ | check status | ||
+ | <code bash> | ||
+ | systemctl status named | ||
+ | </code> | ||
+ | |||
+ | check the " | ||
+ | <code bash> | ||
+ | systemd-resolve --status | ||
+ | </ | ||
+ | |||
+ | To set BIND as the default resolver, edit ''/ | ||
+ | In the [Resolve] section, add '' | ||
<code bash> | <code bash> | ||
- | sudo / | + | # restart and check again |
- | sudo / | + | sudo systemctl restart systemd-resolved |
- | sudo / | + | systemd-resolve --status |
</ | </ | ||
Line 131: | Line 146: | ||
===== References ===== | ===== References ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
computers/dns_server_configuration.1597501305.txt.gz · Last modified: 2020/08/15 22:21 by chkuo