Monday, 24 October 2011

DNS delegation and DNS tools

DNS delegation is used if you want to point to a DNS subdomain zone being administered by someone else. Make sure that the name server record of the server exists on the server where the DNS of the subdomain resides. Then you right click on the zone - Choose new delegation - Click next- Type the delegated domain- Click next- Click add and type the FQDN of the server where the subdomain resides- Click Ok and Ok again.

Now if anyone wants to resolve again the subdomain- it points to the Nameserver record in the zone of the primary server. Once it points to that server it looks for the record in the subdomain on the pointed server and resolves the query using that.

DNS TIP: In case if you are not able to resolve internet queries but the intranet queries work fine, the reason can be that someone has created a .(root) zone on the DNS server.

dnscmd /zoneexport infoit.com.au infoit
This command will export all your zone info to the file named infoit for zone infoit.com into C:/windows/system32/dns/infoit

dnscmd /createdirectorypartition app1.infoit.com.au

To check use
dnscmd /enumdirectorypartitions

Now, to replicate this newly created partition to server2 only and not the whole AD, use
dnscmd server2 /enlistdirectorypartion app1.infoit.com.au

To delete this newly created directory partition,
dnscmd /deletedirectorypartition app1.infoit.com.au

No comments:

Post a Comment