Setting up external DNS with bind
To set up your very own DNS server, we'll first
need to install the
Berkeley Internet
Name Daemon
(
BIND
) package on our server:
sudo apt install bind9
Now, we should have the
bind9
service running on our server, though it's not
actually configured to do much at this point. The most basic function of
bind
is to
act as what's called a
Caching Name Server
, which means that the server doesn't
actually match any names itself. Instead, it caches responses from an external server.
We'll configure
bind
with actual hosts later, but setting up a caching name server is a
good way to get started.
To do so, open the
/etc/bind/named.conf.options
file in your favorite text editor.
Within the file, you should see a block of text that looks similar to the following:
// forwarders {
// 0.0.0.0;
// };
Setting Up Network Services
Do'stlaringiz bilan baham: |