بله ظاهراً کامله.
این هم مثال که اصل قضیه رو نشون میده و به قولی لپ کلام محسوب میشه:
محتوای named.conf
- کد: گزینش همه
zone "example.com" {
type master;
file "/etc/bind/zones/example.com.db";
};
محتوای /etc/bind/zones/example.com.db
- کد: گزینش همه
// replace example.com with your domain name. do not forget the . after the domain name!
// Also, replace ns1 with the name of your DNS server
example.com. IN SOA ns1.example.com. admin.example.com. (
// Do not modify the following lines!
2006081401
28800
3600
604800
38400
)
// Replace the following line as necessary:
// ns1 = DNS Server name
// mta = mail server name
// example.com = domain name
example.com. IN NS ns1.example.com.
example.com. IN MX 10 mta.example.com.
// Replace the IP address with the right IP addresses.
www IN A 192.168.0.2
mta IN A 192.168.0.3
ns1 IN A 192.168.0.1
البته توجه کنید که تنظیمات برای راه اندازی از این مثال مهمتره و پیشنیازش همون تنظیماته صحیحه.
در خدمتیم.