[jadmin] Wildcard and SRV records (too much subdomains)

Manuel Mely mmelyp at gmail.com
Mon Mar 5 17:54:54 CST 2007


Matthias Wimmer wrote:
> Hi Manuel!
> 
> Manuel Mely schrieb:
>> I have an ejabberd server, that will be serving for about 25 vhosts very
>> soon, but i was configuring my dns server and i noted that for 2 or 3
>> domains SRV records for _xmpp-server _xmpp-client _jabber will be ok,
>> but i will have 25 vhosts and maybe more, and i won't like to have 3
>> records per vhost :)
> 
> Well it's a matter of your taste what you do like, but technically I see
> no problem having 25 entries in your zone file.
> 
> My taste: As long as you have a known and finite set of domains (doesn't
> matter how many, that's just a matter of using the right tool to manage
> your zones), you should not use wildcards anyway. Wildcards make unused
> domains visible to the DNS. Causing other systems try to deliver
> messages (not only XMPP ones) to your system. Wildcards should only be
> used if set set of domains are either unknown or infinite. (E.g. if you
> are operating a gateway to a non-internet network, e.g. FidoNet.)

It's not a problem to have about 25 entries or a finite number in my 
dns, i was wondering to have only two entries to manage all xmpp dns 
requests by clients. I thought in the implication of having this thing 
like this, but i'm sure my ejabberd server will deny this messages :)


> 
> Back on topic:
> 
>> I tried this:
>>
>> _jabber._tcp.*.home.cu. IN SRV 5 0 5269 xanthe.home.cu.
>> _xmpp-server._tcp.*.home.cu. IN SRV 5 0 5269 xanthe.home.cu.
>> _xmpp-client._tcp.*.home.cu. IN SRV 5 0 5222 xanthe.home.cu.
> 
> Is xanthe.home.cu the same host as the host addressed by your wildcard
> record? In that case (as already said by others) you do not need the SRV
> records at all. They are just needed to redirect traffic to a host
> different than the one that gets resolved by the A record or to redirect
> the traffic to a non-standard TCP port.

No no, domains will be managed by some other servers, not only 
xanthe.home.cu , that's why i'm using SRV records.

> 
> 
> Matthias
> 

Thanks for replying!

-- 
-----------------------------------------------
Manuel Mely Pérez
2do Año Ingeniería en Telecomunicaciones. CUJAE
Email1: mmelyp at gmail.com
Email2: manuel.mp at feestudiantes.cujae.edu.cu
Jabber ID1: mely at softwarelibre.cu
Jabber ID2: mely at jabber.cujae.edu.cu
Registered Linux User: #312357
Registered Ubuntu User: #4750
My Blog: http://mmelyp.blogspot.com
Site: http://www.minbas.cu/
-----------------------------------------------

...pero dos no es igual que uno mas uno ...
JSabina


-- 
This message has been scanned on mx1.home.cu for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the JAdmin mailing list