- Thread Starter
- #26
Yes, so my problem now is when I use windows or other OS, DNS server is automatically assigned by DHCP protocol (there is an option to change manually). But what I am facing in FreeBSD now is I can only get assigned IP but not DNS server from DHCP server, I can only do it manually (via altering resolv.conf). And if I leave it empty, it just doesn't use any DNS server for lookup. So I was wondering if there is a way to let FreeBSD work like other OS (like shown in picture below) get both IP and DNS server from DHCP server.I'm not sure if I understand. You are DHCP client in this scenario, you can't generally influence what DHCP server gives you. You can manually alter resolv.conf to whatever you want but depending on network settings you may not be able to use it -- your exact problem with google's DNS.
I don't use FreeBSD for desktop any more, I'm not sure if there's an option to do this (change part of the network config based on location) automatically. On Solaris you can assign network profiles.
Maybe somebody will answer you in that thread.