SRV on multiple subdomains

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue May 14 13:57:31 UTC 2024


On 14.05.24 13:08, DEMBLANS Mathieu wrote:
>I have a question about configuration simplification for SRV configuration (maybe it can be applyed for other entries).
>
>We manage multiple subdomain of a main one (server1.example.com, server2.example.com,...).
>For A and MX entries, we use a general domain definitions with wildcard but is there a way to do so for SRV without having to define all subdomains (we have several dizains of it) ?
>
>We have to define some SRV entries with the same target like :
>_imap._tcp.server1.example.com  IN SRV main.exemple.com
>_imap._tcp.server2.example.com  IN SRV main.exemple.com


I assume that _imap._tcp should be configurable per domain, so there should 
not be needed any need for things like _imap._tcp.server1.example.com
- you should use _imap._tcp.example.com

>For example something like _imap._tcp.*.example.com  IN SRV main.example.com.
>I read in a doc that the < * > can only be the  leftmost label in the name.

correct.

>Is there an other way to simplify or does I have to add each entry individually?

no, but the question is if you really need this.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
You have the right to remain silent. Anything you say will be misquoted,
then used against you.


More information about the bind-users mailing list