# Technitium DNS, DoH

**URL:** <https://forum.samohosting.ru/t/technitium-dns-doh/1990>\
**Category:** Вопросы новичков\
**Created:** [04.Март.2026 09:58:00 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990 "2026-03-04T09:58:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [04.Март.2026 09:58:00 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/1 "2026-03-04T09:58:00Z")

</div>

Добрый всем.  
Кто о чем а я о dns.  
Кто юзал Technitium DNS сервер, интересно подключение к нему по DoH, поделитесь секретом, как вы этот DoH подняли. Сервер стоит на vds, по 53 порту сделал подключение, 443 порт никак не дается.

Благодарю

---

<div class="post-metadata">

**Author:** ![wpbuild](https://forum.samohosting.ru/user_avatar/forum.samohosting.ru/wpbuild/32/2130_2.png) [@wpbuild](https://forum.samohosting.ru/u/wpbuild)\
**Post date:** [04.Март.2026 10:00:29 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/2 "2026-03-04T10:00:29Z")

</div>

А не занят ли случаем 443 порт кем то другим?

И в логах посмотреть куда прибиндилось

```auto
[2026-03-04 10:07:36 UTC] [[::]:53] [UDP] DNS Server was bound successfully.
[2026-03-04 10:07:36 UTC] [[::]:53] [TCP] DNS Server was bound successfully.
[2026-03-04 10:07:36 UTC] [[::]:853] [TLS] DNS Server was bound successfully.

```

Если у вас порт занят кем то другим, например nginx то в логах увидите

```auto
[2026-03-04 10:22:54 UTC] [[::1]:443] [HTTPS] DNS Server failed to bind.

```

---

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [04.Март.2026 11:35:41 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/3 "2026-03-04T11:35:41Z")

</div>

```auto
[2026-03-04 11:34:29 UTC] Attempting to restart DNS service.
[2026-03-04 11:34:29 UTC] [0.0.0.0:53] [UDP] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [0.0.0.0:53] [TCP] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [0.0.0.0:853] [TLS] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [0.0.0.0:853] [QUIC] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [[::]:53] [UDP] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [[::]:53] [TCP] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [[::]:853] [TLS] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [[::]:853] [QUIC] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] [[::]:443] [HTTPS] DNS Server was bound successfully.
[2026-03-04 11:34:29 UTC] DNS service was restarted successfully.

```

---

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [04.Март.2026 11:36:43 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/4 "2026-03-04T11:36:43Z")

</div>

Technitium установлен на ubuntu server 24.04 в докере, более на сервере ничего нет.

---

<div class="post-metadata">

**Author:** ![KRom](https://forum.samohosting.ru/user_avatar/forum.samohosting.ru/krom/32/362_2.png) [@KRom](https://forum.samohosting.ru/u/KRom)\
**Post date:** [04.Март.2026 11:41:24 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/5 "2026-03-04T11:41:24Z")

</div>

А сам DOH включен и настроен?

 ![image](https://forum.samohosting.ru/uploads/default/original/2X/f/f384d4dc9bbfc647a4baa4cc83e1519dbc1270af.jpeg)

---

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [04.Март.2026 11:46:13 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/6 "2026-03-04T11:46:13Z")

</div>

Да. И сертификат получен.

 ![image](https://forum.samohosting.ru/uploads/default/original/2X/8/83b3382b73836a278cc331e7645f2aba5a9733cb.png)

---

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [04.Март.2026 11:46:43 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/7 "2026-03-04T11:46:43Z")

</div>

![image](https://forum.samohosting.ru/uploads/default/original/2X/8/8e8442c7a4021ba570f22f54c7ff626923f2abd4.png)

---

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [04.Март.2026 11:47:27 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/8 "2026-03-04T11:47:27Z")

</div>

Этот же сертификат используется для https web морды сервера. Все работает.

---

<div class="post-metadata">

**Author:** ![wpbuild](https://forum.samohosting.ru/user_avatar/forum.samohosting.ru/wpbuild/32/2130_2.png) [@wpbuild](https://forum.samohosting.ru/u/wpbuild)\
**Post date:** [04.Март.2026 13:59:19 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/9 "2026-03-04T13:59:19Z")

</div>

![2026-03-04_20-58-39](https://forum.samohosting.ru/uploads/default/original/2X/c/c199985055d5e819ddce608d7c2360d7c4682eb2.jpeg)

А вот тут у вас что?

И собственно у хост машины то 443 порт в куда смотрит?

---

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [04.Март.2026 15:25:27 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/10 "2026-03-04T15:25:27Z")

</div>

![image](https://forum.samohosting.ru/uploads/default/original/2X/7/7f1a69fc684eed84ece38215b8c26698d189f066.png)

Плиз, как проверить: хост машины то 443 порт в куда смотрит?

---

<div class="post-metadata">

**Author:** ![wpbuild](https://forum.samohosting.ru/user_avatar/forum.samohosting.ru/wpbuild/32/2130_2.png) [@wpbuild](https://forum.samohosting.ru/u/wpbuild)\
**Post date:** [05.Март.2026 15:31:41 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/11 "2026-03-05T15:31:41Z")

</div>

Ну например так

`netstat -tulnp`

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name  
tcp 0 0 127.0.0.53:53 0.0.0.0:\* LISTEN 113/systemd-resolve  
tcp 0 0 192.168.1.111:53 0.0.0.0:\* LISTEN 105/dotnet  
tcp 0 0 192.168.1.111:853 0.0.0.0:\* LISTEN 105/dotnet  
tcp 0 0 0.0.0.0:443 0.0.0.0:\* LISTEN 143/nginx: master p  
udp 0 0 192.168.1.111:53 0.0.0.0:\* 105/dotnet  
udp 0 0 127.0.0.53:53 0.0.0.0:\* 113/systemd-resolve  
udp 0 0 0.0.0.0:67 0.0.0.0:\* 105/dotnet  
udp 0 0 192.168.1.111:67 0.0.0.0:\* 105/dotnet  
udp 0 0 0.0.0.0:443 0.0.0.0:\* 143/nginx: master p

Смотри 443 порт кто занимает и на каком интерфейсе.

---

<div class="post-metadata">

**Author:** ![yden](https://forum.samohosting.ru/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yden](https://forum.samohosting.ru/u/yden)\
**Post date:** [05.Март.2026 23:46:19 UTC](https://forum.samohosting.ru/t/technitium-dns-doh/1990/12 "2026-03-05T23:46:19Z")

</div>

> [@wpbuild](#):
>
> netstat -tulnp

root@dns-server:~# netstat -tulnp  
Active Internet connections (only servers)  
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name  
tcp 0 0 0.0.0.0:80 0.0.0.0:\* LISTEN 177961/docker-proxy  
tcp 0 0 0.0.0.0:22 0.0.0.0:\* LISTEN 1/systemd  
tcp 0 0 0.0.0.0:53 0.0.0.0:\* LISTEN 177926/docker-proxy  
tcp 0 0 0.0.0.0:53443 0.0.0.0:\* LISTEN 178014/docker-proxy  
tcp 0 0 0.0.0.0:5380 0.0.0.0:\* LISTEN 177996/docker-proxy  
tcp 0 0 0.0.0.0:443 0.0.0.0:\* LISTEN 177978/docker-proxy  
tcp6 0 0 :::80 :::\* LISTEN 177966/docker-proxy  
tcp6 0 0 :::22 :::\* LISTEN 1/systemd  
tcp6 0 0 :::53 :::\* LISTEN 177930/docker-proxy  
tcp6 0 0 :::53443 :::\* LISTEN 178019/docker-proxy  
tcp6 0 0 :::5380 :::\* LISTEN 178000/docker-proxy  
tcp6 0 0 :::443 :::\* LISTEN 177983/docker-proxy  
udp 0 0 0.0.0.0:53 0.0.0.0:\* 177943/docker-proxy  
udp 0 0 157.22.230.68:68 0.0.0.0:\* 11126/systemd-netwo  
udp6 0 0 :::53 :::\* 177948/docker-proxy

```auto
[2026-03-05 23:51:22 UTC] [0.0.0.0:53] [UDP] DNS Server was bound successfully.
[2026-03-05 23:51:22 UTC] [0.0.0.0:53] [TCP] DNS Server was bound successfully.
[2026-03-05 23:51:22 UTC] [0.0.0.0:443] [UDP] DNS Server was bound successfully.
[2026-03-05 23:51:22 UTC] [0.0.0.0:443] [TCP] DNS Server was bound successfully.
[2026-03-05 23:51:22 UTC] [[::]:53] [UDP] DNS Server was bound successfully.
[2026-03-05 23:51:22 UTC] [[::]:53] [TCP] DNS Server was bound successfully.
[2026-03-05 23:51:22 UTC] [[::]:443] [HTTPS] DNS Server failed to bind.

```
