This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_dns [2020/09/02 15:12] val [Настройка DNS view] |
сервис_dns [2024/07/30 15:02] (current) val [Сервис DNS] |
||
---|---|---|---|
Line 3: | Line 3: | ||
* [[http://ru.wikipedia.org/wiki/DNS|Domain Name System — система доменных имён]] | * [[http://ru.wikipedia.org/wiki/DNS|Domain Name System — система доменных имён]] | ||
* [[http://xgu.ru/wiki/Настройка_DNS-сервера_BIND|Настройка DNS-сервера BIND]] | * [[http://xgu.ru/wiki/Настройка_DNS-сервера_BIND|Настройка DNS-сервера BIND]] | ||
+ | |||
* [[Финальная настройка DNS сервера]] | * [[Финальная настройка DNS сервера]] | ||
+ | * [[https://nip.io/|Dead simple wildcard DNS for any IP Address]] | ||
===== Утилиты тестирования DNS ===== | ===== Утилиты тестирования DNS ===== | ||
Line 11: | Line 13: | ||
==== nslookup ==== | ==== nslookup ==== | ||
<code> | <code> | ||
+ | $ nslookup | ||
+ | >ya.ru | ||
+ | |||
$ nslookup mx.bmstu.ru | $ nslookup mx.bmstu.ru | ||
Line 16: | Line 21: | ||
$ nslookup -q=NS bmstu.ru | $ nslookup -q=NS bmstu.ru | ||
+ | |||
+ | val@noc:~$ nslookup -q=AXFR bmstu.ru 195.19.32.2 | ||
$ nslookup -q=MX bmstu.ru 195.19.32.2 | $ nslookup -q=MX bmstu.ru 195.19.32.2 | ||
- | $ nslookup -q=AXFR bmstu.ru 195.19.32.2 | + | $ nslookup -q=SRV _xmpp-client._tcp.bmstu.ru |
+ | |||
+ | $ nslookup -q=SRV _kerberos._udp.bmstu.ru | ||
- | # nslookup -q=SRV _xmpp-client._tcp.valtest.bmstu.ru | + | $ nslookup -q=SRV _sip._udp.bmstu.ru |
</code> | </code> | ||
Line 180: | Line 189: | ||
;www CNAME server | ;www CNAME server | ||
;user1 CNAME server | ;user1 CNAME server | ||
- | ;smtp CNAME server | + | ;mail CNAME server |
- | ;imap CNAME server | + | |
- | ;pop3 CNAME server | + | |
- | ;ntp CNAME gate | + | ;ntp CNAME gate |
+ | |||
+ | ;proxy A 172.16.1.X | ||
+ | |||
+ | ;$GENERATE 1-100 node$ A 192.168.X.$ | ||
+ | ;$GENERATE 1-9 node$ A 192.168.X.20$ | ||
+ | ;$GENERATE 10-54 node$ A 192.168.X.2$ | ||
+ | ;$GENERATE 1-9 kube$ A 192.168.X.22$ | ||
;_sip._udp SRV 0 0 5060 server | ;_sip._udp SRV 0 0 5060 server | ||
+ | |||
;_xmpp-client._tcp SRV 0 0 5222 server | ;_xmpp-client._tcp SRV 0 0 5222 server | ||
;_kerberos._udp SRV 01 00 88 server | ;_kerberos._udp SRV 01 00 88 server | ||
;_kerberos._tcp SRV 01 00 88 server | ;_kerberos._tcp SRV 01 00 88 server | ||
- | ;_kpasswd._udp SRV 01 00 464 server | ||
- | ;_kerberos-adm._tcp SRV 01 00 749 server | ||
;_kerberos TXT CORPX.UN | ;_kerberos TXT CORPX.UN | ||
</code><code> | </code><code> | ||
Line 210: | Line 223: | ||
root@server:~# named-checkconf -z | root@server:~# named-checkconf -z | ||
- | root@server:~# service bind9 restart | + | root@server:~# rndc reload |
</code> | </code> | ||
Line 364: | Line 377: | ||
server A 192.168.X.10 | server A 192.168.X.10 | ||
gate A 192.168.X.1 | gate A 192.168.X.1 | ||
+ | |||
... | ... | ||
</code><code> | </code><code> | ||
Line 381: | Line 395: | ||
server A 172.16.1.X | server A 172.16.1.X | ||
gate A 172.16.1.X | gate A 172.16.1.X | ||
- | ... | + | |
+ | mail CNAME server | ||
+ | ;... | ||
</code> | </code> | ||