DNS настройка обратной зоны и делегирование области = ФКН ВГУ 2012 (преп. - Коваль А.С.)

In this practice, you will:
! Configure a reverse lookup zone.
! Configure a zone delegation.

В этой практике мы используем три машины
Ensure that the DEN-DC1, DEN-SRV1, and DEN-SRV2 virtual machines are
started.

! Prepare for this practice
• If necessary, log on to DEN-DC1, DEN-SRV1, and DEN-SRV2 as
Contoso\Administrator, with a password of Pa$$w0rd.

На одной машине (на ней ) мы будем настраивать затем обратную зону убедимся, что при попытке пинговать , адрес, который не присвоен ни одной машине в нашей сети мы не увидим связанного с ним доменного имени(что весьма логично) =
! Configure a reverse lookup zone on DEN-SRV2
1. On DEN-SRV2, click Start, point to All Programs, point to Accessories,
and then click Command Prompt.
2. At the command prompt, type

 ping -a 10.10.0.50 

and then press ENTER.
Was the address resolved to a name?
No
____________________________________________________________

Добавляем запись в обратную зону DNS сервера:

3. On DEN-SRV2, click Start, point to Administrative Tools, and then
click DNS.
4. In the console tree, expand DEN-SRV2 and then click Reverse Lookup
Zones.

5. Right-click Reverse Lookup Zones and then click New Zone.
6. Click Next. Ensure that Primary Zone is selected and then click Next.
7. In the Network ID field, type

10.10.0

and then click Next.

8. In the Create a new file with this file name field, ensure that
0.10.10.in-addr.arpa.dns is entered and then click Next.
9. Click Next and then click Finish.

Добавление PTR записи:
10. Expand Reverse Lookup Zones and then click 10.10.0.x Subnet.
11. In the console tree, right-click 10.10.0.x Subnet and then click New
Pointer (PTR).
12. In the Host IP number field, type 50. In the Host name field, type

test.contoso.msft 

and then click OK.
13. To flush the DNS cache, type ipconfig /flushdns at the command prompt.
14. At the command prompt, type

 ping -a 10.10.0.50 

and then press ENTER.
Was the address resolved to a name?
Yes
Теперь - при вызове пинга с флагом "-а" мы можем видеть доменное имя - если же вместо него только точка , то прежде чем произвести контрольный пинг дайте в консоли команду:

ipconfig/flushdns

____________________________________________________________

Настраивае делегацию субдомена

Переходим ко второй машине =
! Configure a delegated subdomain for Dev.contoso.msft
1. On DEN-SRV1, click Start, point to Administrative Tools, and then
click DNS.
В разделе DNS сервера второй машины создаём новую зону=

  • 2. In the console tree, click DEN-SRV1, click the Action menu, and then click New Zone.
  • 3. On the New Zone Wizard page, click Next.
  • 4. Ensure that Primary zone is selected and then click Next.
  • 5. Ensure that Forward lookup zone is selected and then click Next.
  • 6. In the Zone Name field, type
    dev.contoso.msft

    and then click Next.

  • 7. In the Create a new file with this file name field, ensure that dev.contoso.msft.dns is entered and then click Next.
  • 8. Click Next and then click Finish.

Добавляем в созданную зону новый хост=
9. In the console tree, expand DEN-SRV1, expand Forward Lookup Zones,
and then select dev.contoso.msft.
10. In the console tree, right-click dev.contoso.msft, and then click New
Host (A)?.
11. In the Name field, type DEN-DEVSRV1.
12. In the IP address field, type

192.168.1.11

, click Add Host, click OK, and
then click Done.

Открываем третью машину и пытаемся пинговть хост по имени - как и следовало ожидать - ничего не получается(мы ещё не всё настроили)=
13. On DEN-DC1, open a command prompt, and type
ping den-devsrv1.dev.contoso.msft. Did you successfully resolve the name
to an IP address?
No
____________________________________________________________

На третьей машине (она после предыдущих лабораторных является контроллером домена и располагает зоной Contoso.msf)
настраиваем делегацию=

14. On DEN-DC1, click Start, point to Administrative Tools, and then click DNS.
15. In the DNS console tree, expand DEN-DC1, expand Forward Lookup Zones, and then click Contoso.msft.
16. Right-click Contoso.msft and then click New Delegation. Click Next.
17. In the Delegated Domain field, type Dev and then click Next.
18. In the Name Servers window, click Add.
Чтобы выполнить следующий пункт , необходимо добавить в прямую зону машины DEN-DC1 (третья машина) хост для второй машины (она у нас появилась по ходу решения как "вторая машина" , а в тексте её предлагается дать имя DEN-srv1)=
19. In the Server fully qualified domain name (FQDN) field, type
DEN-srv1.contoso.msft and then click Resolve. Click OK.
20. Click Next and then click Finish.

В командной строке убеждаемся в том, что мы сумели делегировать зону другому DNS серверу, расположенному на так называемой третьей машине =

  • 21. At the command prompt, type
    ipconfig /flushdns

    and then press ENTER.

  • 22. Type
    ping DEN-devsrv1.dev.contoso.msft

    and then press ENTER.

Did you successfully resolve the name to an IP address?
Yes
ответа нет . но ip машины мы получили от второй машины (DEN-srv1) , произведя ping на третьей ( DEN-DC1) .

____________________________________________________________