Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how can I set up my netcfg profiles to use the google DNS servers? I've tried

IP = 'dhcp'
DNS = ''

but that didn't cut it.

share|improve this question

You should be able to put the custom DNS addresses into your DHCP server's configuration, so your clients get told to use them instead of the defaults.

If your DHCP server is a router and it doesn't give you the ability to change the DNS addresses, you can always run your own DHCP server. There are other reasons to do that besides custom DNS server IPs. For example, dnsmasq will act as a LAN DNS cache, too, and integrates the DHCP and DNS so you get nice features like the ability to ping a DHCP client by name.

share|improve this answer
can you tell me how to properly configure this? I'm not a networking/internet wiz and frankly I know nothing about DNS. All I know is that I would like to be able to visit the websites which my government has censored. – romeovs May 21 '12 at 19:19
If you're asking how you configure your router's DHCP server, that depends on your router type, and isn't on topic here. Try our sister site superuser.com. Include the make and model of the router. If you mean "how do you configure dnsmasq", that's covered by its documentation. There is a setup guide, a FAQ, and a reference manual. – Warren Young May 22 '12 at 2:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.