Да, DNS является предпочтительной услугой, вы можете выбрать DNS для конечного пользователя и даже создать статический DNS на своем хосте.
Является ли DNS-сервер Google плацебо?
Ладно, может и нет, но я немного запутался, адрес DNS-сервера получен модемом (через DHCP), так почему это имеет значение, если мы изменим DNS-адрес в Windows? Конфигурация операционной системы имеет приоритет над конфигурацией модема? И действительно ли эта конфигурация работает быстрее, чем предоставляемая ISP, или это просто плацебо?
5 ответов на вопрос
- Популярные
- Новые
- С комментариями
- Активные
Ответ - да : ваша ОС будет использовать любые DNS-серверы, которые вы ей скажете. Модем предоставляет некоторые DNS-серверы Интернет-провайдеру, и затем он передает их своим клиентам через DHCP, но клиенты могут свободно игнорировать их и использовать альтернативные серверы, если захотят.
Одним словом, да - настройке ОС отдается приоритет. Ваша система получит DNS-сервер от своего DHCP-сервера (он же модем), который, в свою очередь, получает настройки DNS от вашего провайдера. Но если вы введете значение в модем и дадите компьютеру оттуда его забрать, то это будет DNS-сервер. И если вы принудительно установите значение на своем компьютере, это значение будет использоваться независимо от того, что установил ваш модем или вышестоящий провайдер.
Silly boys...
Google DNS servers are listed in the official Internic database hosted at ICAAN. The Google DNS servers are listed as:
ns1.google.com
ns2.google.com
ns3.google.com
ns4.google.com
These servers have one IP address each, although there may be load balancers spreading the requests to a farm.
When a client needs an IP address for the google search engine, it will ask the bind server which is configured into the network config for that workstation. If this bind server does not know google's IP (or range of IP's) then it may inquire from any of the 4 Google bind servers. It will then cache the answer should anyone else need to know Google's IP so that Google's bind servers do not get hit every time someone needs the IP.
This is the way the bind system is designed. As a distributed lookup system.
In your PC you have 3 options:
- Configure a static IP and provide the DNS server(s) to use.
- Set your PC to use DHCP.
- Set your PC to use DHCP, but also provide the DNS server(s) to use.
In scenario 2 your PC gets all he needs (IP address, network mask, router, DNS server(s)) from the router. In scenario 2 your PC gets most he needs (IP address, network mask, router) from the router, but you override the DNS server(s) to use. The router might still tell the PC which DNS server(s) he can use, but the PC will ignore that and use the ones you configured.
How does your router know the DNS server(s) from your ISP? Because your router uses DHCP to talk to your ISP and get it's IP address, ... and the DNS server(s). The ISP will tell your router to use his own DNS server(s). As with PCs some routers allow providing alternate DNS server(s) as override.
If you change the DNS server(s) at your PC, this will only affect this PC, no other PC and not the router. If you change the DNS server(s) at your router this will affect the router itself and all PCs that learn the DNS server(s) from the router.
You asked if there is any advantage when using Google DNS. I read about three reasons:
- Google DNS is faster
- Google DNS is more secure
- Google DNS comes without censoring
I am not sure if Google DNS really is faster. My hope would be that a good provider knows what he is doing and that you profit from the short way from your router to your ISP's DNS server, a way that is totally under control of the ISP and could be optimized. If you want to check which DNS is fastest, you can use namebench.
By the way, I doubt that speed is relevant. DNS resolving is taking milliseconds. And if the PC once resolved a name to an IP address, he caches this information for some time. So a second DNS resolve request only a few seconds later will not result in any packet being sent to any DNS server. You can see the list of cached DNS names if you want to: start cmd.exe
and there enter ipconfig /displaydns
).
Second reason is a more secure DNS, but also this depends on your ISP and the DNS server they are using.
The third reason probably is a good one. If you live in a country with censorship and/or DNS filtering then some DNS names might not be blacklisted and not be resolved by your ISP. Your ISP might not have a choice because of legal reasons. In this case a Google DNS that is (or claims to be) uncensored/unfiltered is a good alternative to get full internet access. Of course this might not work in all countries because the ISPs might also be obliged to filter out traffic from/to Google DNS.
Похожие вопросы
-
12
Почему папка / winsxs становится такой большой и ее можно уменьшить?
-
2
Повышенные привилегии для запуска приложений в Windows?
-
14
PDF Viewer в Windows
-
-
7
Какие службы Windows можно безопасно отключить?
-
8
Firefox PDF плагин для просмотра PDF в браузере на Windows
-
1
Windows теряет макет экрана
-
1
Есть ли способ предотвратить установку / обновление, чтобы засорять мой жесткий диск загадочными пап...
-
1
Как я могу получить доступ к принтеру Windows Vista из Ubuntu по сети?
-
6
Просмотр журнала в Windows
-
3
Фоновая проблема Windows с двумя экранами