:: Re: [DNG] Locations of servers?
Top Page
Delete this message
Reply to this message
Author: Adrian Zaugg
Date:  
To: dng
Subject: Re: [DNG] Locations of servers?

In der Nachricht vom Wednesday, 25 June 2025 18:52:30 CEST schrieb golinux via
> Maybe this will help?
>
> http://deb.devuan.org/mirror_list.txt


...and to extract the mirrors that have DNSSEC support, use the following
lines as a script:


#!/bin/bash

# get Devuan mirrors supporting DNSSEC

MIRROR_LIST_URL="https://ftp.fau.de/devuan/mirror_list.txt"
RESOLVER="9.9.9.9"

while read -r mirror; do  
   if [ $(dig "$mirror" @"$RESOLVER" | grep "^;; flags:" | \
          grep -c " ad[ ;]") -eq 1 ]; then
      echo "$mirror"
   fi
done <<< $(wget -O - "$MIRROR_LIST_URL" 2>/dev/null | grep "^FQDN" | \
           sed -e "s/^FQDN:  *//g")




Regards, Adrian.

--

Petition der Digitalen Gesellschaft gegen einen Überwachungsstaat:
https://act.campax.org/petitions/demokratie-statt-uberwachungsstaat

Bitte unterschreiben!