hostname: ldap domainname: reu.tld ip dns: 192.168.2.1
Сделал таблицу:
reu.tld. IN SOA ldap.reu.rld. (
1 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
home. IN NS ldap.reu.tld.
localhost.reu.tld. IN A 127.0.0.1
ldap.reu.tld IN A 192.168.2.1
добавил в конфиг:
zone "reu.tld" in {
type master;
file "/etc/bind/db.reu";
allow-update { key "rndc-key"; };
notify yes;
};
набираю nslookup ldap.reu.tld и получаю:
nslookup ldap.reu.tld
Server: 192.168.2.1
Address: 192.168.2.1#53
** server can't find ldap.reu.tld: SERVFAIL
набираю nslookup ldap и получаю:
nslookup ldap
Server: 192.168.2.1
Address: 192.168.2.1#53
** server can't find ldap: NXDOMAIN