سلام وقت بخیر
من دارم سعی میکنم یه caching-only dns server تنظیم کنم.
مراحل زیر رو رفتم اما کار نمیکنه.
- Install bind and utilities
- Edit /etc/named.conf file, details in line bellow
add => allow-query { any; }; listen-on port 53 { any; }; allow-recursion { any; };
- Checking configuration file with named-checkconf /etc/named.cof
- disable and stop firewall daemon
—————————
اما کار نمیکنه:
# nslookup google.com 192.168.1.8
Server: 192.168.1.8
Address: 192.168.1.8#53
** server can't find google.com: SERVFAIL
my named.conf file: https://textdoc.co/mYLQrFskp9GOqNVb
مشخصات سیستم و دسترو ام:
Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
ممنون میشم اگر ایده دارید یا چیزی به نظرتون میرسه بهم بگید.
ادیت: فقط با گوگل مشکل داره و با بقیه وبسایت ها مشکلی نداره
مرسی از یکی از دوستان (محمد) که کمک بزرگی کرد.
Mensagem سلام وقت بخیر
12 de julho de 2022Por perto no feed
Aesta mensagem
C