Showing posts with label DNS Zone. Show all posts
Showing posts with label DNS Zone. Show all posts

Sunday, February 15, 2009

ATM Record

The ATM Address resource record maps domain host name with ATM address. The following shows creating ATM resource record.


1. Assume the dnsserver on which to create ATM Address is "dnsserver", domain zone is "myrootdns.com".

2. Open Dns Manager using the command "dnsmgmt.msc".

3. In the console tree, go to the dns zone "myrootdns.com", right click on zone and select "Other New Records".





4. In Resource Record Type dialog, Select ATM Address list item and click "Create Record"





5. In the New Resource Record Dialog, Enter ATM address and click OK.


6. Click "Done" button in resource record type dialog.
7. In the dns manager, verify the ATM resource record created.

IPV6 Host Type AAAA Record

The AAAA resource record maps domain host name with it's IPv6 address.

The following shows creating AAAA record.
1. Assume the dnsserver on which to create AAAA is "dnsserver", domain zone is "myrootdns.com" and IPv6 to be added ::(Local Address)
2. Open Dns Manager using the command "dnsmgmt.msc".
3. In the console tree, go to the dns zone "myrootdns.com", right click on zone and select "Other New Records".
4. In Resource Record Type dialog, select "IPv6 Host(AAAA)" List item and click Create Record.

5. Enter :: (Local IPv6 Address) in new resource record dialog, click OK





6. Click "Done" in Resource Record Type Dialog





7. Verify the Type AAAA created in dns manager snap-in.
Relevant Posts:
Create IPv6 Type AAAA record on command line.

Create MR Record using dnscmd

The following illustrates on how to create MailBox Renamed record on command prompt using the command dnscmd.exe.
1. Asssume the dns zone is "myrootdns.com" and host name of the existing mailbox record is "dnsserver.myrootdns.com".
2. Now the command below to add MR record,
dnscmd dnsserver /recordadd myrootdns.com . /Aging /OpenAcl MR dnsserver.myrootdns.com
3. Verify the MR record created in dns manager snapin dialog.

MR Record

The rename mailbox resource record represents domain mailbox which essentially the proper rename of existing mailbox name. The rename mailbox is useful in the following scenarios.

1. The renamed mailbox record can be used as a forwarder entry for a mailbox user who moved from existing mailbox to different mailbox.
2. MR records if used didn't cause additional section processing.

The following illustrates on how to create MR record.
1. Assume the dns zone to which the MR record to be added is "myrootdns.com", existing mailbox host is "dnsserver.myrootdns.com".
2. Open dns manager using the command dnsmgmt.msc.
3. In the console tree, browse to the dns zone, right click on the zone, select "other new records".



4. In the resource record type dialog, select "Rename Record(MR)" list item and click "Create record" button.

. 5. In Resource Record dialog, click browse button.

5. Browse to mailbox record and select it.



6. Verify the "replace mailbox" item in New resource record dialog and click OK.



7. Click "Done" in Resource Record Type dialog, thus Rename MailBox Record has been created.


Relevant Posts:

Create MR Record ON command Prompt

MG Record

The MailGroup(MG) Record allows to add domain mailboxes specified by mailbox records as members to domain mailgroup specified my mailgroup record.

Forexample, the mailbox record for the domain "myrootdns.com" can be added as a member to mailgroup record to domain myrootdns.com

The following illustrates on how to create mailgroup record

1. Assume the domain is "myrootdns.com", and mailbox host for the domain mailbox record is "dnsserver".
2. Open dns manager spapin using the command dnsmgmt.msc.
3. in the dns console tree, browse to dns zone myrootdns.com, right click on the zone, select "other new records".


4. In resour record type dialog, select "MailGroup(MG) Record" and click "create new record"




5. Add mailbox record in MailGroup Record dialog and click ok





Friday, February 13, 2009

ZoneresetScavengeservers using dnscmd

To set Scavenging servers for a zone on command prompt, do the following
1. Assume the dns server is "dnsserver" and zone is "myrootdns.com" and scavenging server ip address is 192.168.1.100.
dnscmd dnsserver /zoneresetscavengeservers myrootdns.com 192.168.1.100

ZoneResetSecondaries using dnscmd

To set secondary server ip addresses with zone transfer options, do the following.
1. Assume the dns server is "dnsserver", zone name is "myrootdns.com" seconday server ip address is "192.168.1.200"

2. To allow zone transfered to only to the list of secondary servers, run
dnscmd dnsserver /zoneresetsecondaries myrootdns.com /securelist 192.168.1.200.



3. To allow zone trasfers to all secondaries, run

dnscmd dnsserver /zoneresetsecondaries myrootdns.com /nonsecure

4. To disallow zone transgers to secondaries, run

dnscmd dnsserver /zoneresetsecondaries /noxfr

5. To notify secondaries about the change in secondary settings, run

dnscmd dnsserver /zoneresetsecondaries /noxfr /notify

6. To disllow notifieing, run

dnscmd dnsserver /zoneresetsecondaries /noxfr /nonotify

7. To allow notify only to the list of ip addresses, run

dnscmd dnsserver /zoneresetsecondaries /noxfr /notifylist 192.168.1.200

Change zone type using dnscmd

To reset a zone type on command prompt, do the following

1. Assume the server name is dnsserver and zone name is myrootdns.com.

2. To reset zone from ds type to primary, run

dnscmd dnsserver /zoneresettype myrootdns.com /primary /file myrootdns.dns


3. To change type from primary to ds, run

dnscmd dnsserver /zoneresettype myrootdns.com /ds

Display All records in a zone using dnscmd

To print all the resource records in a zone on command promt, do the following
1. Assume the dns server is "dnsserver" and dns zone is "myrootdns.com".


zonewriteback using dnscmd

To write back a zone to file on command prompt, do the following

1. Assume the dns server name is "dnsserver", zone which is to be written back is "
"myrootdns.com".

dnscmd dnsserver /zonewriteback myrootdns.com


Set ZoneUpdateFromDs using dnscmd

The following shows on how to update zone from DS on command prompt

1. Assume the dns server is "dnsserver", and zone name is "myrootdns.com".

2. Run the below command to update zone

dnscmd dnsserver /zoneupdatefromds myrootdns.com


zone wirteback using dnscmd

To write a zone to file or database through command line, do the following
1. Assume the dns server is "dnsserver", zone which is to be written back to file is "myrootdns.com"

dnscmd dnsserver /zonewriteback myrootdns.com

zone reload using dnscmd

The following illustrates on how to update zone on command line using dnscmd command.

1. Assume the dns server name is "dnsserver", zone is "mydomainzone.com"
dnscmd dnsserver /zonereload mydomainzone.com


Note: If the zone is Active Directory-integrated, then the zone will be loaded from active directory. If the zone is a created from file, then the operation reloads from a file.

zone refresh using dnscmd command

The zonerefresh operation on a zone triggers checking version number in the primary(master) server's SOA record. If the version number on the primary server is higher than the secondary's version number, then a zone transfer operation will be initiated to update the secondary server.

To force zonefresh on a dnsserver through command line, do the following

1. Assume dns server "dnsserver" and zone name is "myrootdns.com".

dnscmd dnsserver /zonerefresh myrootdns.com

Export Zone to a file using dnscmd

To save zone configuaration in to a file through command prompt using dnscmd command, do the following.

1. Assume the dns server name is "dnsserver", zone which is to be exported is "mydomainzone.com"

dnscmd dnsserver /zoneexport mydomainzone.com mydomainzone.txt



The exported zone file can be located at %windir%\system32\dns.

Relevant Posts:
Export Reverse Lookup zone on command prompt

Resume dns zone using dnscmd

To restart a dns zone on command line using dnscmd.exe, do the following

1. Assume the dns server is "dnsserver", zone which is to be resumed is "mydomainzone.com".

2. run the below command to start the stopped dns zone.

dnscmd dnsserver /zoneresume mydomainzone.com


Pause dns zone using dnscmd

The following illustrates on how to suspend a dns zone temporarly on command line,
1. Assume the dns server is "dnsserver", dns zone name is "mydomainzone.com".
2. Now run the command below to stop working of dns zone temparorily
dnscmd dnsserver /zonepause mydomainzone.com

Relevant Posts:
Resume Dns Zone

delete dns zone using dnscmd command

To remove a dns zone on command line, do the following
1. Assume the dns server on which to remove the zone is "dnsserver", zone to be deleted is "mydomainzone.com" .
2. Now run the below command to remove the zone.
dnscmd dnsserver /zonedelete mydomainzone.com /f


3. To remove DS integrated zone, run
dnscmd /dnsserver /zonedelete mydomainzone.com /dsdel /f

Delete Dns zone

The following illustrates on how to remove forward lookup dns zone,
1. Assume the dns zone is "mydomainzone.com".
2. Open DNS snap-in manager using the command dnsmgmt.msc.
3. In the dns manager console tree, browse to the zone node "mydomainzone.com" , right click on the zone and click delete.

4. for removing reverse lookup zone(assume reverse lookup zone is 1.168.192.in-addr follow the same procedure
Relevant Posts:
Delete Dns Zone using dnscmd command

Wednesday, February 11, 2009

view dns zone information using dnscmd

To find complete information of a dns zone, do the following

1. Assume the dns server name is "dnsserver", dns zone name is myrootdns.com.

2. Now, Run the following command to know the info of "myrootdns.com"

dnscmd.exe dnsserver /zoneinfo myrootdns.com










Note:
To perform this operation, one must be a member of the Administrators group on the dnsserver or one must have been delegated the appropriate authority.

Design by infinityskins.blogspot