Zonar updates release24

Two minor changes, branched from release24.

Make sure the ldap port is a string.
Set PEERDNS=no if name servers have been configured.