M
M
Mortech2020-10-12 12:26:55
linux
Mortech, 2020-10-12 12:26:55

How to set up sending jabber messages via bind9?

What should be done so that all jabber-messages of the form [email protected] come to the server 3.3.3.3 and how to implement this using bind9?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Barbolin, 2020-10-12
@Mortech

An example of my configuration. Through bind, only name resolution goes through SRV. All messages are already being dumped on jabber.

$ORIGIN .
$TTL 86400      ; 1 day
example.ua IN      SOA     ns01.example.ua. hostmaster.example.ua. (
                        2020092201                                                                                                                                                                           28800
                        7200
                        1814400
                        3200 )
                        NS      ns01.example.ua.
                        NS      ns03.example.ua.
$ORIGIN example.ua.
js01            IN      A       76.76.76.215
ns01            IN      A       76.76.76.2
msn             IN      CNAME   js01.example.ua.
irc             IN      CNAME   js01.example.ua.
icq             IN      CNAME   js01.example.ua.
sms             IN      CNAME   js01.example.ua.
pubsub          IN      CNAME   js01.example.ua.
vjud            IN      CNAME   js01.example.ua.
conference      IN      CNAME   js01.example.ua.
proxy           IN      CNAME   js01.example.ua.

tests                   NS      ns01.example.ua.

$ORIGIN _tcp.example.ua.
_jabber         IN      SRV     10 0 5269       js01.example.ua.
_xmpp-server    IN      SRV     10 0 5269       js01.example.ua.
_xmpp-client    IN      SRV     10 0 5222       js01.example.ua.

D
Dmitry, 2020-10-12
@q2digger

add a zone for the localnet domain to the bind , and add the test.localnet host with the required address to this zone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question