Is there a way to get assigned DNS server from DHCP server on FreeBSD

I currently use FreeBSD on a laptop and I need to connect to different wireless network, some blocked external DNS server somehow, so I was wonder if there is a way to change my DNS server with DHCP assigning.

I have to manually change my resolv.conf to get that to work.

Any suggestion would be appreciated!
 
Back
Top