Cpanel/WHM - /scripts/cpdig - скрипт для DNS запросов
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Версия от 09:00, 20 января 2022; Admin iph (обсуждение | вклад) (Новая страница: «link=https://iphoster.net/pl.php?34838| Доступная цена === Cpanel/WHM - /scripts/cpdig - скрипт для DNS запрос...»)
Cpanel/WHM - /scripts/cpdig - скрипт для DNS запросов
Скрипт /scripts/cpdig выполняет ДНС запросы через Cpanel DNS резолвер - использует библиотеку libunbound из пакета cpanel-unbound. Проверка происходит по IPv6 и Ipv4. Аналогичный вывод команды dig:
dig +trace $name $type
Синтаксис:
/scripts/cpdig domain.tld A --verbose
Библиотека libunbound:
# rpm -ql cpanel-unbound-1.13.2-1.cp1198.x86_64 /usr/local/cpanel/3rdparty/lib64/libunbound.a /usr/local/cpanel/3rdparty/lib64/libunbound.la /usr/local/cpanel/3rdparty/lib64/libunbound.so /usr/local/cpanel/3rdparty/lib64/libunbound.so.8 /usr/local/cpanel/3rdparty/lib64/libunbound.so.8.1.13 /usr/local/cpanel/3rdparty/sbin/unbound-anchor /usr/local/cpanel/3rdparty/sbin/unbound-host /usr/local/cpanel/3rdparty/share/man/man1/unbound-host.1 /usr/local/cpanel/3rdparty/share/man/man3/libunbound.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_cancel.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_add_ta.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_add_ta_file.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_async.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_config.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_create.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_data_add.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_data_remove.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_debuglevel.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_debugout.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_delete.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_get_option.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_hosts.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_print_local_zones.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_resolvconf.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_set_fwd.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_set_option.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_trustedkeys.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_zone_add.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_ctx_zone_remove.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_fd.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_poll.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_process.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_resolve.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_resolve_async.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_resolve_free.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_result.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_strerror.3 /usr/local/cpanel/3rdparty/share/man/man3/ub_wait.3 /usr/local/cpanel/3rdparty/share/man/man8/unbound-anchor.8