Start→Control Panel→Network Connection→Local Area Connection→Properties
ip 192.168.X.20/24 g 192.168.X.1 d 192.168.X.1
Manage Your Server→Computer And Domain Name Information→Change computer name
sX
Restart
Start→Run→dcpromo→Full DNS Name
adX.class
→…→Restore Password
password
→Install and configure DNS…
C:\Distrs\i386\...
→Finish→Restart Now
gX A 192.168.X.1 cX A 192.168.X.10
Создаем в AD в контейнере users пользователя uX с паролем Pa$$w0rd
root@g13:~# tail -n 7 /etc/bind/named.conf.local
zone "ad13.class" { type forward; forwarders { 192.168.13.20; }; };
root@g13:~# cat /var/cache/bind/d13.rev
$TTL 3h @ SOA g13.ad13.class. root.g13.ad13.class. 1 1d 12h 1w 3h NS g13.ad13.class. 1 PTR g13.ad13.class. 10 PTR c13.ad13.class. 20 PTR s13.ad13.class. 30 PTR x13.ad13.class.
g13# cat /etc/hostname g13.ad13.class g13# cat /etc/hosts ... 192.168.13.1 g13.ad13.class g13 ... g13# cat /etc/resolv.conf domain ad13.class nameserver 127.0.0.1
C:\>nslookup g13.ad13.class ... Name: g13.ad13.class Address: 192.168.13.1 C:\>nslookup 192.168.13.1 ... Name: g13.ad13.class Address: 192.168.13.1 C:\>nslookup s13.ad13.class ... Name: s13.ad13.class Address: 192.168.13.20 C:\>nslookup 192.168.13.20 ... Name: s13.ad13.class Address: 192.168.13.20