LINUX.ORG.RU
решено ФорумAdmin

Response Policy Zones SRV

 , rpz,


0

1
zone "rpz.zone" {
        type master;
        file "/etc/bind/db.rpz.zone";
        allow-query {any;};
#       allow-update {none;};
}
;RPZ
$TTL 10
@       IN SOA rpz.zone. rpz.zone. (
       5;
       3600;
       300;
       86400;
       60 )
       IN      NS      localhost.

domain.ru                     CNAME  domain.local.
jabber.domain.ru              CNAME  jabber.domain.local.


;srvce.prot.name                      class   rr  pri weight   port    target
_jabber._tcp.domain.ru.              IN   SRV  5    0       5269    jabber.domain.ru.
_xmpp-server._tcp.domain.ru.         IN   SRV  5    0       5269    jabber.domain.ru.
_xmpp-client._tcp.domain.ru.         IN   SRV  5    0       5222    jabber.domain.ru.

SRV записи не применяются.

$ dig -t srv _xmpp-server._tcp.domain.ru

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> -t srv _xmpp-server._tcp.domain.ru
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9445
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;_xmpp-server._tcp.domain.ru. IN      SRV

;; ANSWER SECTION:
_xmpp-server._tcp.domain.ru. 2269 IN  CNAME   domain.ru.
domain.ru.            5       IN      CNAME   domain.local.

;; AUTHORITY SECTION:
domain.local.         604800  IN      SOA     domain.local. admin.domain.com. 3 604800 86400 2419200 604800

;; Query time: 83 msec
;; SERVER: 192.168.206.75#53(192.168.206.75)
;; WHEN: Mon Jun  8 11:51:33 2015
;; MSG SIZE  rcvd: 143
★★★★★

Привел запись SRV к виду

;srvce.prot.name                      class   rr  pri weight   port    target
_jabber._tcp.domain.ru              IN   SRV  5    0       5269    jabber.domain.ru.
_xmpp-server._tcp.domain.ru         IN   SRV  5    0       5269    jabber.domain.ru.
_xmpp-client._tcp.domain.ru         IN   SRV  5    0       5222    jabber.domain.ru

petav ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.