$TTL 604800 ; 1 week
@ IN SOA exampleX.com. root.exampleX.com. (
2020052701 ; serial
604800 ; refresh (1 week)
86400 ; retry (1 day)
2419200 ; expire (4 weeks)
604800 ; minimum (1 week)
)
@ I N gw.exampleX.co N S m.
I P gw.exampleX.co N TR m.
I P server.exampleX.
N TR com.
1 I P user.exampleX.co 00 N TR m.
Endi zona fayllarining konfiguratsiyasini xatolarga tekshirishingiz mumkin va agar xatolar bo'lmasa dns serverini qayta ishga tushiring.
# named-checkconf -z # systemctl restart bind9 Dns serverini tekshirish uchun quyidagi buyruqlardan foydalaning:
# ping gw.exampleX.com # ping test.exampleX.com # dig ya.ru # nslookup ya.ru 127.0.0.1 # rndc status # systemctl status bind9 # netstat -lnp | grep :53 Mijoz mashinasini sozlang. Agar ALSE-1604 kursidan virtual mashinadan foydalanayotgan bo'lsangiz va DHCP-server sozlangan bo'lsa. Mijoz mashinasi ushbu serverdan manzil olishi kerak
Agar DHCP serveringiz sozlanmagan bo'lsa. Mijoz mashinasi statik manzilni olishi kerak, masalan:
Sizning tarmog'ingiz: 192.168.X.0/24 Domen: exampleX.com
Foydalanuvchi uchun IP -manzil: 192.168.X.100
Netmask: 255.255.255.0
Foydalanuvchi uchun xost nomi: user.exampleX.com