TSDNS how to block undefined domains - eviltoast

Hello,

I am running 3 TeamSpeak-Server on Proxmox-Host. I opened Port 9987, 30033 and 41144 for my first TeamSpeak-Server.

I have some (Sub)Domains pointing to my home-network. I just want to get connected by defined Subdomains.

E.G.

Ts1.mydomain.com -> 1st ts-server

Ts2.mydomain.com -> 2nd ts-server

Ts3.mydomain.com -> 3rd ts-server

mydomain.com -> blocked

otherdomain.com -> blocked

How do I do that?

Current tsdns-Entries:

ts1.mydomain.com=IP1:$Port

ts2.mydomain.com=IP2:$Port

*=NORESPONSE

It works fine except that not defined domains don’t get blocked.

  • ferrybig@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Hosts your teamspeak server on a non standard port, if an domain is not defined by tsdns or SRV records, it falls back to the A record of your domain and the default port

    Also, use SRV records instead of TSDNS, it has the same features, but follows common standards