Errors DNS в CentOS

Содержание
Introduction
WARNING: recursion requested but not available
connection timed out; no servers could be reached
Related Articles

Introduction

WARNING: recursion requested but not available

Если вы выполняете dig на сервере и получаете ошибку

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.7 <<>> www.heihei.ru @192.168.56.149 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 7931 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;www.heihei.ru. IN A ;; Query time: 1 msec ;; SERVER: 192.168.56.149#53(192.168.56.149) ;; WHEN: Mon Sep 13 14:48:56 EEST 2021 ;; MSG SIZE rcvd: 42

Значит, скорее всего, вы не указали в named.conf нужные значения в allow-query { localhost; };

Изучите решение этой проблемы здесь

connection timed out; no servers could be reached

У этой ошибки может быть несколько похожих причин

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.7 <<>> www.aviasales.com @192.168.56.149 ;; global options: +cmd ;; connection timed out; no servers could be reached

Вы делаете запрос на сервере у которого

listen-on port 53 { 127.0.0.1; };

То есть он слушает только localhost

Изучите решение этой проблемы здесь

Article author: Andrei Olegovich

Похожие статьи
DNS CentOS
DNS Errors
Network Configuration в CentOS
New Interface
CentOS
Networks
ip
hostname
DNS theory
Firewall
iftop: Network monitoring
nethogs: Network monitoring
tc: Traffic monitoring
iperf: Network performance
uuidgen: uuid for network interface
SCP: File exchange
SSH: Remote access
C sockets
DNS in CentOS

Search this site

Subscribe to Telegram channel @aofeed to follow new articles and updates to old ones

Go to channel

@aofeed

Ask a question in the Telegram group

@aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: