Internet connection through LAN

I use windows internet connection sharing to configure internet access for my home network. the laptop WLAN connects to internet via wireless hotspot and shares internet via LAN configured as gateway with ip, netmask
i installed nomadBSD on a desktop system and configured it with static ip, netmask, and default route, to use this gateway for internet access but i cannot browse the internet.
ifconfig and netstat -nr shows the correct static ip, netmask and default gateway but firefox says cannot reach server.
i could successfully ping google but cant still browse. Need help i am new to BSD

Have you set /etc/resolv.conf ?
Should be similar to:

$ cat /etc/resolv.conf
domain local