From e4cc9bead9ac3a070b79fdf944fe96da230db3be Mon Sep 17 00:00:00 2001
From: puglieri
Date: Fri, 6 Dec 2024 12:28:49 -0300
Subject: [PATCH 1/3] Update linux.md
---
.../connect-devices/mobile-and-desktop/linux.md | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/docs/private-dns/connect-devices/mobile-and-desktop/linux.md b/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
index 93521fadf..00fbeb573 100644
--- a/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
+++ b/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
@@ -102,6 +102,21 @@ If you see a notification that you are not connected to AdGuard DNS, most likely
:::
+## Use EDNS (Extended DNS)
+
+EDNS extends the DNS protocol, enabling larger UDP packets to carry additional data. In AdGuard DNS, it allows passing the DeviceID in plain DNS using an extra parameter.
+
+DeviceID, an eight-digit hexadecimal identifier (e.g., `1a2b3c4d`), helps link DNS requests to specific devices. For encrypted DNS, this ID is part of the domain (e.g., `1a2b3c4d.d.adguard-dns.com`). For unencrypted DNS, EDNS is required to localize this identifier.
+
+AdGuard DNS uses EDNS to retrieve the DeviceID. All you have to do is look for option number 65074 and, if such an option exists, read the DeviceID from there. For this, we need to use the command `dig` on the terminal:
+
+`dig @94.140.14.49 'www.example.com' A IN +ednsopt=65074:3031323334353637
+`
+
+Here, `65074` is the option ID, and `3031323334353637` is its value in hex format (DeviceID: 01234567)
+
+All done! The device ID will be displayed.
+
## Use plain DNS
If you prefer not to use extra software for DNS configuration, you can opt for unencrypted DNS. You have two choices: using linked IPs or dedicated IPs:
From 433ddd11ae014d0cc11cea39fed36c46fd5c6014 Mon Sep 17 00:00:00 2001
From: puglieri
Date: Mon, 9 Dec 2024 09:07:45 -0300
Subject: [PATCH 2/3] Update linux.md
---
.../mobile-and-desktop/linux.md | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/docs/private-dns/connect-devices/mobile-and-desktop/linux.md b/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
index 00fbeb573..e81779faa 100644
--- a/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
+++ b/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
@@ -106,16 +106,23 @@ If you see a notification that you are not connected to AdGuard DNS, most likely
EDNS extends the DNS protocol, enabling larger UDP packets to carry additional data. In AdGuard DNS, it allows passing the DeviceID in plain DNS using an extra parameter.
-DeviceID, an eight-digit hexadecimal identifier (e.g., `1a2b3c4d`), helps link DNS requests to specific devices. For encrypted DNS, this ID is part of the domain (e.g., `1a2b3c4d.d.adguard-dns.com`). For unencrypted DNS, EDNS is required to localize this identifier.
+DeviceID, an eight-digit hexadecimal identifier (e.g., `1a2b3c4d`), helps link DNS requests to specific devices. For encrypted DNS, this ID is part of the domain (e.g., `1a2b3c4d.d.adguard-dns.com`). For unencrypted DNS, EDNS is required to transfer this identifier.
-AdGuard DNS uses EDNS to retrieve the DeviceID. All you have to do is look for option number 65074 and, if such an option exists, read the DeviceID from there. For this, we need to use the command `dig` on the terminal:
+AdGuard DNS uses EDNS to retrieve the DeviceID by looking for option number 65074. If such an option exists, it will read the DeviceID from there. For this, you can use the command `dig` on the terminal:
-`dig @94.140.14.49 'www.example.com' A IN +ednsopt=65074:3031323334353637
-`
+```sh
+dig @94.140.14.49 'www.example.com' A IN +ednsopt=65074:3031323334353637
+```
-Here, `65074` is the option ID, and `3031323334353637` is its value in hex format (DeviceID: 01234567)
+Here, `65074` is the option ID, and `3031323334353637` is its value in hex format (DeviceID: `01234567`).
-All done! The device ID will be displayed.
+All done! The device ID should be displayed.
+
+:::note
+
+The `dig` command is merely an example, you can use any DNS software with an ability to add EDNS options to perform this action.
+
+:::
## Use plain DNS
From 660a0f441f645470d45708fe91cdc482e30a38c2 Mon Sep 17 00:00:00 2001
From: puglieri
Date: Mon, 9 Dec 2024 11:19:00 -0300
Subject: [PATCH 3/3] Update linux.md
---
.../private-dns/connect-devices/mobile-and-desktop/linux.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/private-dns/connect-devices/mobile-and-desktop/linux.md b/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
index e81779faa..fe394817f 100644
--- a/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
+++ b/docs/private-dns/connect-devices/mobile-and-desktop/linux.md
@@ -104,11 +104,11 @@ If you see a notification that you are not connected to AdGuard DNS, most likely
## Use EDNS (Extended DNS)
-EDNS extends the DNS protocol, enabling larger UDP packets to carry additional data. In AdGuard DNS, it allows passing the DeviceID in plain DNS using an extra parameter.
+EDNS extends the DNS protocol, enabling larger UDP packets to carry additional data. In AdGuard DNS, it allows passing DeviceID in plain DNS using an extra parameter.
DeviceID, an eight-digit hexadecimal identifier (e.g., `1a2b3c4d`), helps link DNS requests to specific devices. For encrypted DNS, this ID is part of the domain (e.g., `1a2b3c4d.d.adguard-dns.com`). For unencrypted DNS, EDNS is required to transfer this identifier.
-AdGuard DNS uses EDNS to retrieve the DeviceID by looking for option number 65074. If such an option exists, it will read the DeviceID from there. For this, you can use the command `dig` on the terminal:
+AdGuard DNS uses EDNS to retrieve DeviceID by looking for option number `65074`. If such an option exists, it will read DeviceID from there. For this, you can use the `dig` command on the terminal:
```sh
dig @94.140.14.49 'www.example.com' A IN +ednsopt=65074:3031323334353637
@@ -116,7 +116,7 @@ dig @94.140.14.49 'www.example.com' A IN +ednsopt=65074:3031323334353637
Here, `65074` is the option ID, and `3031323334353637` is its value in hex format (DeviceID: `01234567`).
-All done! The device ID should be displayed.
+All done! DeviceID should be displayed.
:::note