#!/bin/bash # Variables ANYDESKRELAYHOSTSFILE="filename.txt"; WEBDIR="/var/www/domain.de/directory/directory"; # Here the magic happens dig +noall +answer relays.net.anydesk.com | awk '{print $5}' > $WEBDIR/$ANYDESKRELAYHOSTSFILE; exit 0;
# Build AnyDesk IP-list 01,11,21,31,41,51 * * * * root /root/scripts/build_URL-Tables_for_pfSense/build_URL-Table-AnyDesk