List Info

Thread: Wildcard and SRV records (too much subdomains)




Wildcard and SRV records (too much subdomains)
user name
2007-03-04 21:16:09
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 
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.

but this is not working, when i query the server i get
this:

;; ANSWER SECTION:
_xmpp-server._tcp.*.home.cu. 604800 IN   SRV     5 0 5269
xanthe.home.cu.

hehe is working but not as i want :(



-- 
-----------------------------------------------
Manuel Mely Pérez
2do Año Ingeniería en Telecomunicaciones. CUJAE
Email1: mmelypgmail.com
Email2: manuel.mpfeestudiantes.cujae.edu.cu
Jabber ID1: melysoftwarelibre.cu
Jabber ID2: melyjabber.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.

_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
country flaguser name
United States
2007-03-05 01:02:27
On Monday 05 March 2007 03:16:09 am Manuel Mely wrote:
> hehe is working but not as i want :(

First off, you don't need the _jabber SRV-- it's obsolete.
Secondly, wildcards are the job of your DNS server, not your
XMPP server 
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
user name
2007-03-05 10:34:32
Luke-Jr wrote:
> On Monday 05 March 2007 03:16:09 am Manuel Mely wrote:
>> hehe is working but not as i want :(
> 
> First off, you don't need the _jabber SRV-- it's
obsolete.
> Secondly, wildcards are the job of your DNS server, not
your XMPP server 
> _______________________________________________
> JAdmin mailing list
> JAdminjabber.org
> http:/
/mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
> _______________________________________________
> 

Yes i know that wildcard is a job of my DNS server, but i
was asking if 
somebody have this and could help me. I don't know if this
is an OT 
message because i'm talking about DNS, but it has something
of xmpp stuff.


-- 
-----------------------------------------------
Manuel Mely Pérez
2do Año Ingeniería en Telecomunicaciones. CUJAE
Email1: mmelypgmail.com
Email2: manuel.mpfeestudiantes.cujae.edu.cu
Jabber ID1: melysoftwarelibre.cu
Jabber ID2: melyjabber.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.

_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
country flaguser name
Germany
2007-03-05 17:36:49
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.)

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.


Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/

_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
user name
2007-03-06 02:54:41
On 3/5/07, Manuel Mely <mmelypgmail.com> wrote:
> 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 

What about using $INCLUDE [1] with an origin of your xmpp
domain.
That way you'd only have one include line per hosted
domain,
(including another file which does the SRV records, etc)

[1] http://www.isc.org/sw/bind/arm94/Bv9ARM.ch06.html#id2
591546

-- 
- Norman Rasmussen
 - Email: normanrasmussen.co.za
 - Home page: http://norman.rasmusse
n.co.za/
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
country flaguser name
Poland
2007-03-06 03:51:17
On Tue, Mar 06, 2007 at 12:36:49AM +0100, Matthias Wimmer
wrote:
> 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.

SRV records SHOULD ALWAYS be there. Even if it is not needed
(as A
record would be enough) other servers will ask for them
before trying A
record. A is only a fallback and using it as the only way to
get a
server address is discouraged. You would not set up a mail
server
without MX record, would you?

And for some servers missing SRV records will cause
unnecessary s2s
delays.

Greets,
        Jacek
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
country flaguser name
Germany
2007-03-06 08:40:35
Hi Jacek!

Jacek Konieczny schrieb:
> SRV records SHOULD ALWAYS be there. Even if it is not
needed (as A
> record would be enough) other servers will ask for them
before trying A
> record. A is only a fallback and using it as the only
way to get a
> server address is discouraged. You would not set up a
mail server
> without MX record, would you?

Well I do run everything with SRV records myself and I am
very much
advertizing that they should be set always. But it would be
wrong
telling this guy, that he has to use the SRV records.

... I'd even love to see, that SRV records would get
required. It would
allow a server, gateway, ... to see if a domain is used for
XMPP. This
would be especially helpful for server supporting different
protocols to
do inter-domain messaging. (E.g. a XMPP+SIMPLE server).


Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/

_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
country flaguser name
United Kingdom
2007-03-06 12:17:17
On Tue, 6 Mar 2007, Matthias Wimmer wrote:
>
> ... I'd even love to see, that SRV records would get
required. It would
> allow a server, gateway, ... to see if a domain is used
for XMPP. This
> would be especially helpful for server supporting
different protocols to
> do inter-domain messaging. (E.g. a XMPP+SIMPLE
server).

The MX-to-A fallback in email is a pain in the neck, so I
would support
getting rid of the SRV-to-A fallback in XMPP. It'll make it
that much more
difficult for rogue servers.

Tony.
-- 
f.a.n.finch  <dotdotat.at>  http://dotat.at/
FAIR ISLE: SOUTHERLY 5 TO 7, INCREASING 7 TO SEVERE GALE 9
FOR A TIME. VERY
ROUGH OR HIGH. RAIN OR SQUALLY SHOWERS. MODERATE OR GOOD.
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
country flaguser name
Canada
2007-03-06 12:38:36
On Tuesday 06 March 2007 10:17, Tony Finch wrote:
> On Tue, 6 Mar 2007, Matthias Wimmer wrote:
> > ... I'd even love to see, that SRV records would
get required. It would
> > allow a server, gateway, ... to see if a domain is
used for XMPP. This
> > would be especially helpful for server supporting
different protocols to
> > do inter-domain messaging. (E.g. a XMPP+SIMPLE
server).
>
> The MX-to-A fallback in email is a pain in the neck, so
I would support
> getting rid of the SRV-to-A fallback in XMPP. It'll
make it that much more
> difficult for rogue servers.
>
> Tony.

The fallback to A helps simplify the setup of small
deployments since the 
server administrator may not understand DNS as well as they
should and also 
may be working with managed a DNS tool that does not support
SRV records, 
like zoneedit.com, for example.  So I would consider the
removal of a 
fallback to always be a barrier to legitimate users and only
sometimes a 
barrier to illegitimate ones.

Like Jacek said, even though you *could* setup a mail server
without an MX 
record, few or no email admins would even consider it in
this day and age.  
Likewise, despite initially knowing nothing about SRV
records, I would not 
consider setting up an XMPP without them now.

Ciao

-- 
Dominic Lepiane
The IRMACS Centre
Simon Fraser University


_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

Re: Wildcard and SRV records (too much subdomains)
user name
2007-03-06 12:29:57
Tony Finch wrote:
> On Tue, 6 Mar 2007, Matthias Wimmer wrote:
>> ... I'd even love to see, that SRV records would
get required. It would
>> allow a server, gateway, ... to see if a domain is
used for XMPP. This
>> would be especially helpful for server supporting
different protocols to
>> do inter-domain messaging. (E.g. a XMPP+SIMPLE
server).
> 
> The MX-to-A fallback in email is a pain in the neck, so
I would support
> getting rid of the SRV-to-A fallback in XMPP. It'll
make it that much more
> difficult for rogue servers.

Unfortunately it may make things much more difficult for
legitimate 
servers, too.  Heck,
we're still trying to get people like DreamHost 
to stop using _jabber._tcp SRV records 2+ years after they
were 
deprecated. But at least they support SRV. Many DNS
providers don't. 
However, I do agree it would be good to phase out the
fallbacks, the 
question is when.

/psa


_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

[1-10] [11-15]

about | contact  Other archives ( Real Estate discussion Medical topics )