Honoring the interface param to select the IPv4 / IPv6 address in Additional Records

Signed-off-by: Madhu Venugopal <madhu@socketplane.io>
Fixed an incorrect commit. Took care of subnet mask parsing.

Signed-off-by: Madhu Venugopal <madhu@socketplane.io>