Use params when filling our dynamic zone template

Use named hostname and IP address when filling out dynamic zone template rather
than hard-coded ns1 and localhost IP.