net: dns: Set the address family and address length correctly
net: dns: Set the address family and address length correctly

We need to set the resolved IP address family and length
before calling the user callback so that callback does not
need to figure out these values itself.

Change-Id: I724909fc1707608ab8728231a0311795b6a313f3
Signed-off-by: Jukka Rissanen <f9f077d1da4c7aa947f9864fa5a28c3588f6a45d@linux.intel.com>

explora26/zephyr,rsalveti/zephyr,mbolivar/zephyr,pklazy/zephyr,galak/zephyr,rsalveti/zephyr,bigdinotech/zephyr,GiulianoFranchetto/zephyr,erwango/zephyr,aceofall/zephyr-iotos,erwango/zephyr,nashif/zephyr,finikorg/zephyr,kraj/zephyr,galak/zephyr,pklazy/zephyr,pklazy/zephyr,holtmann/zephyr,fractalclone/zephyr-riscv,bboozzoo/zephyr,nashif/zephyr,aceofall/zephyr-iotos,sharronliu/zephyr,ldts/zephyr,ldts/zephyr,holtmann/zephyr,explora26/zephyr,galak/zephyr,kraj/zephyr,finikorg/zephyr,fbsder/zephyr,runchip/zephyr-cc3220,ldts/zephyr,explora26/zephyr,fbsder/zephyr,fractalclone/zephyr-riscv,erwango/zephyr,Vudentz/zephyr,fractalclone/zephyr-riscv,zephyriot/zephyr,bigdinotech/zephyr,sharronliu/zephyr,fbsder/zephyr,rsalveti/zephyr,kraj/zephyr,sharronliu/zephyr,rsalveti/zephyr,Vudentz/zephyr,bboozzoo/zephyr,bboozzoo/zephyr,fbsder/zephyr,fractalclone/zephyr-riscv,holtmann/zephyr,ldts/zephyr,galak/zephyr,holtmann/zephyr,erwango/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,mbolivar/zephyr,runchip/zephyr-cc3200,sharronliu/zephyr,explora26/zephyr,runchip/zephyr-cc3220,zephyrproject-rtos/zephyr,kraj/zephyr,kraj/zephyr,zephyriot/zephyr,bigdinotech/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,fractalclone/zephyr-riscv,pklazy/zephyr,bigdinotech/zephyr,runchip/zephyr-cc3220,zephyriot/zephyr,Vudentz/zephyr,aceofall/zephyr-iotos,ldts/zephyr,nashif/zephyr,runchip/zephyr-cc3220,galak/zephyr,erwango/zephyr,finikorg/zephyr,sharronliu/zephyr,bboozzoo/zephyr,fbsder/zephyr,Vudentz/zephyr,punitvara/zephyr,rsalveti/zephyr,zephyriot/zephyr,punitvara/zephyr,mbolivar/zephyr,runchip/zephyr-cc3220,finikorg/zephyr,finikorg/zephyr,runchip/zephyr-cc3200,zephyrproject-rtos/zephyr,runchip/zephyr-cc3200,holtmann/zephyr,GiulianoFranchetto/zephyr,aceofall/zephyr-iotos,Vudentz/zephyr,zephyrproject-rtos/zephyr,runchip/zephyr-cc3200,bigdinotech/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,pklazy/zephyr,punitvara/zephyr,nashif/zephyr,bboozzoo/zephyr,runchip/zephyr-cc3200,mbolivar/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,aceofall/zephyr-iotos,nashif/zephyr,mbolivar/zephyr