Skip to content

Commit fbfe331

Browse files
committed
Fixed links
1 parent df2e190 commit fbfe331

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ In a nutshell, the easiest way of adding a new feature to PolarDNS is to take an
3939
Here's a step-by-step overview of the process:
4040

4141
1. Edit the `polardns/core.py` file
42-
2. Create a copy of a similar feature, such as the [`always`](docs/catalogue/general-features.md#always-resolve-to-ip-always) feature
42+
2. Create a copy of a similar feature, such as the [`always`](https://oryxlabs.github.io/PolarDNS/catalogue/html/always.html) feature
4343
3. Implement the new feature:
4444
- 3.1. Change the initial matching rule
4545
- 3.2. Change the logic to build your DNS response
@@ -51,7 +51,7 @@ Let's briefly discuss the modularity in PolarDNS.
5151

5252
### <a name="polardns-modularity"></a>PolarDNS modularity
5353

54-
Since version `v1.1`, PolarDNS has supported features defined as standalone, pluggable modules in the form of `.toml` files. You can look at the module repository [here](https://github.com/oryxlabs/PolarDNS/tree/main/modules).
54+
Since version `v1.1`, PolarDNS has supported features defined as standalone, pluggable modules in the form of `.toml` files. You can look at the module repository [here](https://github.com/oryxlabs/PolarDNS/tree/main/polardns/modules).
5555

5656
Internally, the modularity of PolarDNS is implemented in such a way that, when you start PolarDNS, it first creates a copy of itself and incorporates all the modules' code. This generates the `polardns_real.py` file. It then runs this newly created file, and that's when the PolarDNS server actually begins operating.
5757

@@ -99,7 +99,7 @@ They all share a similar structure that should be maintained for clarity. Essent
9999
3. Steps to construct the ANSWER section. This is where you will probably make the most changes.
100100
4. Steps to send the packet out and print a message on the console
101101

102-
Here's the actual code for the [`always`](docs/catalogue/general-features.md#always-resolve-to-ip-always) feature, where you can see these sections and what all the code means:
102+
Here's the actual code for the [`always`](https://oryxlabs.github.io/PolarDNS/catalogue/html/always.html) feature, where you can see these sections and what all the code means:
103103

104104
<img width="1000" alt="PolarDNS always feature code explained" src="assets/polardns-always-feature-code-explained.gif">
105105

docs/adding-new-features/polardns-modularity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nav_order: 3
88

99
# PolarDNS Modularity
1010

11-
Since version `v1.1`, PolarDNS has supported features defined as standalone, pluggable modules in the form of `.toml` files. You can look at the module repository [here](https://github.com/oryxlabs/PolarDNS/tree/main/modules).
11+
Since version `v1.1`, PolarDNS has supported features defined as standalone, pluggable modules in the form of `.toml` files. You can look at the module repository [here](https://github.com/oryxlabs/PolarDNS/tree/main/polardns/modules).
1212

1313
Internally, the modularity of PolarDNS is implemented in such a way that, when you start PolarDNS, it first creates a copy of itself and incorporates all the modules' code. This generates the `polardns_real.py` file. It then runs this newly created file, and that's when the PolarDNS server actually begins operating.
1414

0 commit comments

Comments
 (0)