Showing posts with label Resource Record. Show all posts
Showing posts with label Resource Record. Show all posts

Sunday, March 1, 2009

Change SOA Record

The following illustrates on how to change SOA record.

1. Assume the domain is "myrootdns2003.com" and dns server is "dnssserver2003".
2. Open dns using the command dnsmgmt.msc.
3. In the console tree, browse to dns zone "myrootdns2003.com", right click on it and select properties.
4. In dns zone properties dialog, go to "Start Of Authority(SOA)" tab, enter the FQDN of primary dns server "dnsserver2003", responsible person and serial number as shown below.
5. Thus changes the SOA record on domain controller.

Create SRV record

Service (SRV) record. Allows administrators to use several servers for a single DNS domain, to easily move a TCP/IP service from one host to another host with administration, and to designate some service provider hosts as primary servers for a service and other hosts as backups. DNS clients that use a SRV-type query ask for a specific TCP/IP service and protocol mapped to a specific DNS domain and receive the names of any available servers.

The following shows on how to create SRV record

1. Assume the dns server is "dnsserver2003" and dns zone to which the srv record to be added is "myrootdns2003.com"
2. Open dns management snap-in console using the command dnsmgmt.msc.
3. In the console tree, go to the dns zone "myrootdns2003.com", right click on it and select "other new records"
4. Select "Service Location (SRV)" in new resource record type dialog and click "Create Record" button.
5. Enter the SRV server details in new resource record dialog, and select "Allow any authenticated user to update all dns records with the same name" check box and click ok.
6. Thus creates new srv record.

Saturday, February 28, 2009

Register SRV Record

By Default, SRV records are automatically created one the domain controller is installed.
If srv records not found or invalid, try the following mitigation to manually register dns srv records.

1. Restart NetLogon server on domain controller (DC).
2. If step 1 fails, then run dcdiag /fix and check srv records are registered.
3. if both 1 and 2 fails, run netdiag /fix on domain controller.
4. if , 2 and 3 fails, then try manually editing netlogon.dns. i.e add srv record to netlogin.dns as shown below.
After editing the netlogon.dns file, reload the dns zone as shown below.

If none of the above works, still one can register srv records, by recreating dns zone. Follow the instructions shown below to recreate dns zone.

1. Assume the dns zone is "myrootdns2003.com"
2. Open dns management console using dnsmgmt.msc command.
3. In the dns console tree, go to forward lookup zones, right click on dns zone. "myrootdns2003.com" and click delete.

4.After deleting dns zone, right click on "forward lookup zones" and select "newzone" and follow the steps to recreate same dns zone. i.e dns zone with name "myrootdns2003.com"
5. while re creating new zone, “Allow Secure and Non Secure Dynamic updates" option in dynamic updates dialog.
6.Now restart netlogon service.

Add NS Record

NS record is also called as Name Server record. To Add NS record to a dns, do the following.

1. Assume the dns server for the domain "myrootdns2003.com" is "dnsserver2003".
2. To open dns manager snap-in, run the dnsmgmt.msc command on dns server "dnsserver2003".
3. In console tree, traverse to the dns zone "myrootdns2003.com", right click on zone and select properties.
4. Go to the Name Servers tab in properties dialog and click Add Button.
5. Now enter the FQDN of the name server "dnsserver2003.myrootdns2003.com" in Name Server text box and click resolve in resource record dialog.
6. Verify the name server is resolved to its ip address "192.168.1.100" and click ok.
7. Verify the name server is added to name server dialog, click apply and then click OK.

Sunday, February 15, 2009

RouteThrough (RT) Record

The RouteThrough record is used to bind internal hosts which didn't have direct wide are network(WAN) address to intermediate routes. This record contains two fields. A 16-bit integer used to indicate preference for each intermediate route and the domain name of the route through host.
To create RT record through dns manager snap-in, follow the below instructions.
1.Open dns manager using dnsmgmt.msc
2.In the console tree, browse to dns zone "myrootdns.com", right click on the zone and click "new other records".
3. Select "RouteThrough(RT) Record" list item in the resource record type dialog.
4. Enter route through host and click OK in new resource record dialog.
5. Click "Done" button in resource record type dialog.
6. Verify the RouteThrough record has created in dns manager.

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

Delete Host A record using dnscmd

To remove host Type A record on command prompt, do the following

1. Assume the dns domain is "myrootdns.com", dns server for the domain is "dnsserver", Host name for which the Type A record to be deleted is "dnsclient".

dnscmd dnsserver /recorddelete myrootdns.com dnsclient A /f




Create MG Record using dnscmd

To add MailGroup(MG) record on command prompt, do the following.
1. Assume the domain zone in which the MG record to be created is "myrootdns.com", dns server for the domain is "dnsserver", and assume mailbox(MB) record to be added is at host "dnsserver.myrootdns.com"

2. Now run the command below to add the MG resource record at
dnscmd dnsserver /recordadd myrootdns.com . /Aging /OpenAcl MG dnsserver.myrootdns.com


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





Create MailBox(MB) record using dnscmd

To add a MB record through command prompt, do the following

1. Assume the domain for which mailbox need to be created is "myrootdns.com", and host which will host the mailbox is "dnsserver.myrootdns.com".
2. Now run the below command to create MB record.
dnscmd dnsserver /recordadd myrootdns.com dnsserver /Aging /OpenAcl MB dnsserver.myrootdns.com

MB Record

The MB(MailBox) record maps a domain mail box to a specified host.

For example, the domain is myrootdns.com, mail box for the domain "myrootdns.com" can be mapped to a machine say "dnsserver.myrootdns.com"

The following illustrates adding mail box record to a domain.

1. Assume the domain is "myrootdns.com", the authorize dns zone for the domain is "myrootdns.com", the server which is going to host mail box is "dnsserver".
2. Open dns manager snapin using the command dnsmgmt.msc.
3.In the console tree, browse to the dns zone "myrootdns.com", right click on the zone, select "Other New Records".



4.in the resource record type, select "mailbox" list item, click create new record.

4. Enter MailBox host name "dnsserver.myrootdns.com"


Relevant Posts:
Create MB Record Using dnscmd command

Saturday, February 14, 2009

Delete MX Record Using dnscmd

Do the following command to delete a MX record on command prompt,
1. Assume the dns zone is myrootdns.com, dns server is "dnsserver", mail server node is "mailserver"

dnscmd dnsserver /recorddelete myrootdns.com mailserver MX /f

Create MX Record using dnscmd

The following illustrates on how to add mx record on command prompt using dnscmd
1. Assume the dns server "dnsserver", dns zone name is "myrootdns.com" and mail server is mailserver.myrootdns.com

dnscmd dnsserver /recordadd myrootdns.com mailserver /Aging /OpenAcl MX 10 mailserver.myrootdns.com

NS (name server) record

A Name Server (NS) record allows to delegate a child domain to a dns server. For example, Assume myrootdns.com is the main domain, subdomain.myrootdns.com is the subdomain and childdnsserver.myrootdns.com is server machine which should act as name server for subdomain.myrootdns.com

Create NS Record using dnscmd

The following illustrates on how to add NS (Name Server) to a dns on command prompt.

1. Assume the subdomain is "subdomain.myrootdns.com", parent domain is "myrootdns.com", parent domain's dns server is "dnsserver", the name server (dns server) for subdomain.myrootdns.com is "childdnsserver.myrootdns.com" .
2. Now run the below command to add NS for "childdnsserver" at "myrootdns.com" dns zone.

dnscmd dnsserver /recordadd myrootdns.com subdomain /Aging /OpenAcl NS childdnsserver.myrootdns.com




To set timeout(20) for the record, run

dnscmd dnsserver /recordadd myrootdns.com subdomain /Aging /OpenAcl 20 NS childdnsserver.myrootdns.com

To remove NS reocord, run

dnscmd dnsserver /recorddelete myrootdns.com dnsserver NS childdnsserver.myrootdns.com

Create Host AAAA record using dnscmd

The following shows on how to add Type AAAA resource record to a dns through command prompt.

1. Assume the domain name is "myrootdns.com", dns server is "dnsserver", Host name of the machine for which to add AAAA record is "dnsserver" and IPv6 address of dnsserver is "fe80::212:79ff:fedb:e69"/

dnscmd dnsserver /recordadd myrootdns.com dnsserver.myrootdns.com /Aging /OpenAcl AAAA fe80::212:79ff:fedb:e69

To set timeout(20 secs) for AAAA record, run

dnscmd dnsserver /recordadd myrootdns.com dnsserver.myrootdns.com /Aging /OpenAcl 20 AAAA fe80::212:79ff:fedb:e69

Create Host Type A record using dnscmd

The following illustrates on how to add Type A resource records on command prompt using dnscmd.

1. Assume the domain name is "myrootdns.com", dns server is "dnsserver", client Machine for which to add Host A record is "dnsclient.myrootdns.com" and IP address of dnsclient.myrootdns.com is "192.168.1.200".
2. Run below command to add Type A record to "dnsserver"

dnscmd dnsserver myrootdns.com dnsclient.myrootdns.com /Aging /OpenAcl A 192.168.1.200
3. To verify the record is created, run

dnscmd dnsserver /EnumRecords myrootdns.com dnsclient.myrootdns.com

To set timeout for the record, run

dnscmd dnsserver myrootdns.com dnsclient.myrootdns.com /Aging /OpenAcl 20 A 192.168.1.200

Design by infinityskins.blogspot