101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

517
active users

#ddns

0 posts0 participants0 posts today

I may or may not be addicted to docker and nginx reverse proxy. From my home connection I'm hosting game servers, little web apps and tools, and this very mastodon instance. All behind Cloudflare's DNS proxy with their wonderful 15-year SSL certs.

Who would have thought Raspberry Pi tinkering would have led to this? (The whole point, right?)

A sub-subdomain from my Dynamic DNS subdomain resolves to fake IP address pool under a DNS resolver from this organization:

Baidu Netcom Science & Tech Co.

eg.:
own subdomain: subdomain.example.com (resolving to my own dynamic IP address)
fake subdomain: www.subdomain.example.com (resolving to unrelated IP addresses and changing quickly)

Found on dnschecker.org

DDNS provider is: freedns.afraid.org

Anyone has experienced this strange behaviour?

Cтандартный вариант использования #DDNS не требует устанавливать какого-либо клиента. Более чем достаточно на #linux’ах и системных тулзов:

  1. Зарегистрироваться на DDNS сервисе, выбрав доменное имя и получив некий идентификатор (уникальный в пределах этого конкретного Dynamic DNS-сервиса).

  2. На машине настраивается регулярное обращение по определённому URL, каким-нибудь curl.

  3. В этом URL’е проставляется идентификатор пользователя на сервисе.

Как это работает?

Веб-сервер на стороне DDNS-сервиса видит:

  • с какого адреса идут запросы
  • на какой URL идут запросы
  • идентификатор содержащийся в URL’е

Этот идентификатор пользователя и сопоставляется с тем доменом, что выбран у пользователя. В результате становится ясно, какой IP’адрес проставлять отвечая на DNS-запросы про конкретный домен.

Как часто дёргать?

Сервис DynDNS по этому URL’у со своим идентификатором можно дёргать и раз в 5-10 минут.

В крайнем случае, придётся эти 5-10 минут побыть без доступа к машине. Ожидая, пока же обнаружится смена ip’адреса. Однако, в большинстве случаев происходит эта смена глубокой ночью.

Что конкретно делать?

Классическая инструкция про это всё для #linux выглядит вот так — https://www.duckdns.org/install.jsp

Создать файл «duck.sh» содержащий:

echo url="https://www.duckdns.org/update?domains=exampledomain&token=a7c4d0ad-114e-40ef-ba1d-d217904a50f2&ip=" | curl -k -o ~/duckdns/duck.log -K -

Где у каждого свои собственные:

  • domains=...
  • token=...

И поставить выполняться этот файл каждый пять минут:

$: chmod 700 duck.sh
$: crontab -e
$: */5 * * * * ~/duckdns/duck.sh >/dev/null 2>&1

Кстати, по идеи, желательно в создаваемых shell-файлах, прописывать шебанги — начинать файл со строчки вида:

#!/usr/bin/env bash 

Но работать, в целом, должно и без этого.

idealists.suAkkoma

Cloudflare Tunnels (formerly #ArgoTunnels) provide a really important service for privacy-minded self-hosters. It allows you to expose services running inside your home network to the #internet, without exposing your IP address or worrying about dynamic DNS.

A lot of people are uneasy about cloudflare - so I'm wondering if there are ANY alternatives that offer a similar ability?

How do YOU expose your services online?

Hi #SelfHosted community. I've figured out a lot of my setup. I now have a new domain, laniesplace.us, just for #HomeServer stuff. It's set up through Porkbun with Dynu for #DDNS. I've now got #Traefik, #TailscaleVPN, #Linkding, #Forgejo, #Dokuwiki, Code-Server, #Portainer, #Netdata, #Watchtower, #Cockpit, #Pihole, #MiniFlux, #TheLounge, #Filebrowser, #UptimeKuma, and the #Homer dashboard service installed. I'm now trying to set up #Authelia so I can have single sign-on to my services. For some, it's working now, but I can't seem to get Linkding to work no matter what I do. This is on a #RaspberryPi 500 with 8 GB RAM and a 512 GB SD card, running #Stormux, which is based on #ArchlinuxARM. Can anyone help? I'll reply to this post with all my relevant config files in separate posts. What's happening is this: Linkding is supposed to be available at bookmarks.laniesplace.us. When I go there, I see a 401 unauthorized error and a link to sign into Authelia. Once I sign in, though, it redirects back to the page with the 401 error. I've been trying to figure this out for hours with no luck. Files will be in replies to this post.
#SelfHosting #Linux #HomeLab #RPi #RaspberryPi500 #RPi500
@selfhost @selfhosting @selfhosted @linux

Is Asus doing something sketchy here? #Asus offers gratis #DDNS, but according to Asus¹: “If the wireless router is using a private WAN IP address (192.168.x.x, 10.x.x.x, or 172.16.x.x), this router may be under a multi-layer NAT network. The DDNS service is not able to work under this environment.​” Why does Asus want DDNS users put the Asus router at the LAN’s edge? #askFedi