On each PC, go to CMD and type ncpa.cpl.
Go to Propreties, IPv4 and choose an IPv4 address.
For the primary zone, we choose 192.168.42.1 (Mask: 255.255.255.224 + Gateway: 192.168.42.30)
Preferred DNS server: 192.168.42.1, the second is for the secondary zone 192.168.42.2.
Machine name: SRV164170
1.
2.
To verify if everything is correct: CMD:
C:\Users\Administrator> nslookup
Default Server: srv164170.ducobu.lan
Address: 192.168.42.1
> exit
C:\Users\Administrator>3.
If we want to create an alias (www) pointing on the principal server:
Machine name: SRV164171
1.
On SRV164170
2.
On SRV164171
In order to properly synchronize everything:
To verify if everything is correct: CMD:
C:\Users\Administrator>nslookup
Default Server: srv164170.ducobu.lan
Address: 192.168.42.1
> www.ducobu.lan
Server: srv164170.ducobu.lan
Address: 192.168.42.1
Name: srv164170.ducobu.lan
Address: 192.168.42.1
Aliases: www.ducobu.lan
> exit
C:\Users\Administrator>3.
Now that everythong is correct,we can verify, on the secondary server, if the zone transfertis functionnal:
C:\Users\Administrator>nslookup 192.168.42.1
Server: srv164170.ducobu.lan
Address: 192.168.42.1
Name: srv164170.ducobu.lan
Address: 192.168.42.1
C:\Users\Administrator>If it's okay, we can perform the zone transfert:
C:\Users\Administrator>nslookup
Default Server: srv164170.ducobu.lan
Address: 192.168.42.1
> ls -d ducobu.lan
[srv164170.ducobu.lan]
ducobu.lan. SOA srv164170.ducobu.lan hostmaster. (7 900 600 86400 3600)
ducobu.lan. NS srv164170.ducobu.lan
ducobu.lan. NS srv164171.ducobu.lan
srv164170 A 192.168.42.1
srv164171 A 192.168.42.2
www CNAME srv164170.ducobu.lan
ducobu.lan. SOA srv164170.ducobu.lan hostmaster. (7 900 600 86400 3600)
> exit
C:\Users\Administrator>To do the same with the GUI, just do a right click on the ducobu.lan zone of the secondary server > Transfert from Master.
1.
We have to create a new primary zone on the secondary server (only in the Forward Lookup Zones).
We'll call it delegation.ducobu.lan.
We create a new host: srv164170 & IP Address: 192.168.42.1
Inside the Properties window:
Now we have to create a new alias:
We call it www and the FQDN is srv164171.delegation.ducobu.lan.
2.
On the primary server, we have to create a New delagation > Name: delegation
Secondary server name: srv164171.ducobu.lan
We can now verify if the delagation works. To do so, open the CMD on the primary server:
C:\Users\Administrator>nslookup
Default Server: srv164170.ducobu.lan
Address: 192.168.42.1
> www.delegation.ducobu.lan
Server: srv164170.ducobu.lan
Address: 192.168.42.1
Non-authoritative answer:
Non-authoritative answer:
Name: www.delegation.ducobu.lan
> exit
C:\Users\Administrator>Todo
Todo