Running the follow echo $dnsDefinedUrl,$dnsResolvableHost,$dnsDefinedHost,1
returns:
,1d-ldn-uat.gb.derkb.com,ln2i32.zineta.com,[ln2i32.zineta.com]
You will note the 1 at the beginning of the output. But should be at the end of the output.
i expect return to be ,d-ldn-uat.gb.derkb.com,ln2i32.zineta.com,[ln2i32.zineta.com],1