[JDEV] IP address as against FQDN for agent id?
Keith Minkler
keith at digix.dyndns.org
Thu Sep 21 05:45:52 CDT 2000
the short answer is.. you don't need DNS to be "correct" within jserver for this to work..
you can have your server "localhost" and your transports "aim.localhost" and "icq.localhost" and it will all work fine inside of jserver..
you cannot have two transports with the same jid.. this will simply not work.. etherx will get pretty confused by this... and it's considered an undefined situation.
the best way to do this, is to get a name that resolves for you system... a machine name is fine, like "freddy" (you can even put it in your hosts file on your client machine, if it doesn't resolve properly) and then setup your transports as aim.freddy and icq.freddy, etc.. the DNS doesn't have to resolve, jserver knows where to send stuff internally..
the only reason you NEED DNS to resolve properly, is when you want people OUTSIDE of your server to use your transports. i.e. you can connect to jabber.com and use aim.jabber.org as your aim transport.
for this, you need the IP of aim.jabber.org to match the IP of jabber.org. the easiest way to do that in DNS is to create a * record, so that *.jabber.org points to the IP of jabber.org.
this is so that the remote server can lookup aim.jabber.org, and connect to the server's etherx pport (which is actually running on jabber.org, not aim.jabber.org).
Hope this helps!
Keith Minkler
On Tue, Sep 19, 2000 at 11:35:17PM +0000, V.V.Srikanth wrote:
> Hi,
>
> I am running jabber server and groupchat & yahoo transports on a server which
> is not registered with the DNS. I therefore have to specify the IP address to
> allow people connect to the server. Is it legal to use IP address for the
> agent id in jserver.xml?
>
> One-on-one chat works fine with the IP address in the name but when I specify
> it as the agent id for groupchat and invoke groupchat with the IP address of
> the server, I get the following message:
>
> Tue Sep 19 22:53:44 2000 error/etherxs connection to etherxd was rejected:
> Transport access denied.
>
> Secondly.. (if the answer is yes to the above question) is it legal to specify
> the same IP address for multiple agents?
>
> I am at a loss here as I cannot get the server registered in the DNS. Any
> insights would be appreciated.
>
> Thanks,
>
> Srikanth
>
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at http://home.netscape.com/webmail
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list