70-741, Teil 1.1.2. Unterstützte DNS-Bereitstellungsszenarien auf Nanoserver bestimmen

70-741, Teil 1.1.2.

Unterstützte DNS-Bereitstellungsszenarien auf Nanoserver bestimmen

Ideen für die Recherche im Web:

technet nanoserver dns

Zum Nachschlagen:

https://docs.microsoft.com/de-de/windows-server/get-started/deploy-nano-server

Übungen:

Copy-Item D:\NanoServer\NanoServerImageGenerator -Destination C:\ -Recurse cd C:\NanoServerImageGenerator

Get-ExecutionPolicy

# Bei Bedarf: Set-ExecutionPolicy RemoteSigned Import-Module .\NanoServerImageGenerator -Verbose

New-NanoServerImage -DeploymentType Guest -Edition Standard -TargetPath .\wd2016nano4\wd2016nano4.vhdx -BasePath .\Base -ComputerName wd2016nano4 -DomainName kaffee.pause -Ipv4Address 10.10.4.4 -Ipv4Dns 10.6.4.11 -Ipv4Gateway 10.0.4.1 -Ipv4SubnetMask 255.0.0.0 -MaxSize 32GB -MediaPath D:\ -Package Microsoft-NanoServer-DNS-Package -ReuseDomainNode -Storage New-NanoServerImage -DeploymentType Guest -Edition Standard -TargetPath .\wd2016nano5\wd2016nano5.vhdx -BasePath .\Base -ComputerName wd2016nano5 -DomainName kaffee.pause -Ipv4Address 10.10.4.5 -Ipv4Dns 10.6.4.11 -Ipv4Gateway 10.0.4.1 -Ipv4SubnetMask 255.0.0.0 -MaxSize 32GB -MediaPath D:\ -ReuseDomainNode -Storage get-vm

Enter-PSSession -VMName wd2016nano5 Enable-WindowsOptionalFeature -Online -FeatureName DNS-Server-Full-Role

Add-DnsServerResourceRecordA -Name „wd2016nano50“ -ZoneName „kaffee.pause“ -AllowUpdateAny -IPv4Address „10.10.4.50“ -TimeToLive 01:00:00

Exit-PSSession

Copy-Item D:\NanoServer\NanoServerImageGenerator -Destination C:\ -Recurse cd C:\NanoServerImageGenerator Get-ExecutionPolicy # Bei Bedarf: Set-ExecutionPolicy RemoteSigned

Import-Module .\NanoServerImageGenerator -Verbose

New-NanoServerImage -DeploymentType Guest -Edition Standard -TargetPath .\wd2016nanoC4\wd2016nano4.vhdx -BasePath .\Base -ComputerName wd2016nanoC4 -DomainName kaffee.pause -Ipv4Address 10.10.4.4 -Ipv4Dns 10.6.4.11 -Ipv4Gateway 10.0.4.1 -Ipv4SubnetMask 255.0.0.0 -MaxSize 32GB -MediaPath D:\ -Package Microsoft-NanoServer-DNS-Package -ReuseDomainNode -Storage

New-NanoServerImage -DeploymentType Guest -Edition Standard -TargetPath .\wd2016nanoC5\wd2016nano5.vhdx -BasePath .\Base -ComputerName wd2016nanoC5 -DomainName kaffee.pause -Ipv4Address 10.10.4.5 -Ipv4Dns 10.6.4.11 -Ipv4Gateway 10.0.4.1 -Ipv4SubnetMask 255.0.0.0 -MaxSize 32GB -MediaPath D:\ -ReuseDomainNode -Storage get-vm Enter-PSSession -VMName wd2016nanoC5 #Copy c:\packages\Microsoft-NanoServer-DNS-Package.cab dir C:\Packages cd C:\Packages Dism /online /add-package /packagepath:c:\packages\Microsoft-NanoServer-DNS-Package.cab

Enable-WindowsOptionalFeature -Online -FeatureName DNS-Server-Full-Role Add-DnsServerPrimaryZone -Name ristretto.kaffee -ZoneFile ristretto.kaffee.dns Add-DnsServerResourceRecordA -Name „wd2016nanoC50“ -ZoneName „ristretto.kaffee“ -AllowUpdateAny -IPv4Address „10.10.4.50“ -TimeToLive 01:00:00

Exit-PSSession