Skip to content

Commit

Permalink
Merge pull request #266 from gravitl/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
abhishek9686 authored Jan 23, 2024
2 parents 7e98a65 + 0a526c2 commit 7376dfa
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions architecture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,19 @@ You need to make some changes manually to activate the corendns server, follow t

1. Make sure that UDP Port 53 and TCP Port 53 are allowed to pass in the network where your netmaker server lies

2. Make sure the `network_mode: host` is set on the coredns container spec in `/root/docker-compose.yml` and run `docker-compose up -d`

3. disable the systemd-resolved (Reason: to avoid port conflict with coredns server)
2. disable the systemd-resolved (Reason: to avoid port conflict with coredns server)

.. code-block::
sudo systemctl disable systemd-resolved.service
sudo systemctl stop systemd-resolved
4. `**IMPORTANT:**` Since you have disabled systemd-resolved service on server, make sure to set the nameserver to the public ip of the machine, which basically points to the coredns server.
3. Make sure the `network_mode: host` is set on the coredns container spec in `/root/docker-compose.yml` and run `docker-compose up -d`


And now you can point any machine in the network to use this DNS server and you can reach the other peers in the network by their domain names.

And now you can point any machine in the network to use this DNS server and you can reach the other peers in the network by their domain names. For external clients running linux, install 'resolvconf' before setting the Wireguard configurations.
For external clients running linux, make sure 'resolvconf' is installed before setting the Wireguard configurations.

Refer to your operating system documentation for information about how to configure custom DNS network settings. Here are some general help guides on how to add custom DNS server:

Expand Down

0 comments on commit 7376dfa

Please sign in to comment.