Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

DNS management, Server 2008 r2 to Amazon

Hi All,
     I have a project to migrate all DNS management from a local DNS configuration on server 2008 to Route 53 to match the site hosting and redundancy. I would like to reduce the admin overhead overhead here (multiple domains to transfer) and was hoping for help from someone that may have done this before. I have researched a number of ways to export information but it deems a little flunky.

 - Best way to export All DNS entries from Server 2008
      I need to data exported in a manageable format

 - Confirmation of data format requirement for Route 53
     Drop to .csv or .txt to re-import and/or upload
 
From the above two points i should be able to fill the gap in to complete the project

Many thanks
0
ncomper
Asked:
ncomper
  • 2
1 Solution
 
Justin YeungSenior Systems EngineerCommented:
download DNSshell (only works with powershell 2.0)

http://dnsshell.codeplex.com/

Import-Module "C:\test\DnsShell" #The path to the DnsShell Module
$DNSserver = "DNS server FQDN name"
$Outpath = "c:\test\test.txt"
$Zones = Get-DnsZone -Server $DNSserver 
foreach ($Zone in $Zones)
{
Get-DnsRecord -ZoneName $Zone.ZoneName -Server $DNSServer -ErrorAction SilentlyContinue | ft * -autosize | Out-File $Outpath -Append
}

Open in new window

0
 
ncomperAuthor Commented:
Thanks ill take a look
0
 
ncomperAuthor Commented:
Thanks guys I ended up using powershell to complete.
0

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now