Table of Contents

Migrating DNS and DHCP

Main Points

Remember, although the “console” has a buffer of about 1,000 lines and on large imports, data might scroll off the top of the buffer, if you click the 'save' button then you will get all data generated regardless of whether it is visible in the buffer.

Clean Up Microsoft DNS Data

When you export DNS from Microsoft, this script will add the zone file names.

awk '{n=split($3,a,"\\"); print $0, "\r\n\"DatabaseFile\"=\"" , a[3], ".expdb\"" }' dns_export.reg | sed 's/]$//g' | sed 's/"DatabaseFile"="\ /"DatabaseFile"="/g' | sed 's/] .expdb"/.expdb"/g' | sed 's/"DatabaseFile"="\ .expdb"//g' | sed '/^\s*$/d' | dos2unix > new_dns_export.reg

Run Data Import Wizard

Batch file command for running the Data Import Wizard is

START java -jar -Xms128m -Xmx1024m C:\Users\user\Documents\Infoblox\Tools\DIW\diw-8.3.0.jar IgnoreSSLErrors

Go Live

  1. Install BIND on all Windows DNS servers to runon port 5353 and foward all requests to Infoblox. Test this.
  2. Export DNS and DHCP Data
  3. Import DNS
  4. Restart services on Infoblox
  5. Validate DNS authoritative data and forwarders using DIG.
  6. Import a DHCP subnet/range.
  7. Disable that DHCP scope on the legacy DHCP servers.
  8. Restart services on the Infoblox to start handing out leases.
  9. Monitor and test. Ensure that devices on the test subnet are getting leases and are being pointed to the Infoblox for DNS and that dynamic updates are happening. Run DNS tests again.
  10. Import all remaining DHCP data.
  11. Restart services on the Infoblox to start handing out leases.
  12. Monitor and test. Ensure that devices on the test subnet are getting leases and are being pointed to the Infoblox for DNS and that dynamic updates are happening. Run DNS tests again.
  13. Update all Windows DNS servers. Disable (not set to manual) the DNS server. Shutdown BIND. Configure BIND to run on port 53 instead of 5353. Start BIND and ensure it is set to automatically start on boot. Verify the DNS fowarding is working.
  14. Update all Windows Domain Controllers so that their network card interfaces have the DNS server set to the Infoblox DNS servers.