[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Помогите с bind.



Из документации сказано, что если определены forwarders, то по умолчанию будут использоваться они. Так что forward first не обязательно.

http://ftp.isc.org/isc/bind9/cur/9.8/doc/arm/Bv9ARM.pdf
page 71

6.2.16.2 Forwarding The forwarding facility can be used to create a large site-wide cache on a few servers, reducing traffic over links to external name servers. It can also be used to allow queries by servers that do not have direct access to the Internet, but wish to look up exterior names anyway. Forwarding occurs only on those queries for which the server is not authoritative and does not have the answer in its cache.

forward This option is only meaningful if the forwarders list is not empty. A value of first, the default, causes the server to query the forwarders first — and if that doesn’t answer the question, the server will then look for the answer itself. If only is specified, the server will only query the forwarders.

forwarders Specifies the IP addresses to be used for forwarding. The default is the empty list (no forwarding).

Forwarding can also be configured on a per-domain basis, allowing for the global forwarding options to be overridden in a variety of ways. You can set particular domains to use different forwarders, or have a different forward only/first behavior, or not forward at all, see Section 6.2.27.



24.09.2015, 22:34, "Mikhail A Antonov" <mikhail@antfam.ru>:

 24.09.2015 19:41, Tim Sattarov пишет:
  интересно и вправду посмотреть, зачем делать форвардинг на 8.8.8.8 если
  можно просто делать кэширование ?

  я добавил веселья ради себе в форвардеры
           forwarders {
                  8.8.8.8;
                  8.8.4.4;
           };

  результаты ни капли не изменились.
  разве что начальный запрос стал быстрее
 Потому что используй forward first; чтобы дальше уже свой кэш использовать. И про dns.yandex.ru верно подсказали - мне он больше нравится. Там ещё и несколько уровней фильтрации есть.
 
На счет яндекса могу сказать, что он от нашего офиса ближе и быстрее получается чем гугловский. Но например одним вечером он стал тормозить на 20-30 минут, отвечал с задержкой в 2.5k потом прошло, просто так совпало, что я тестил и результаты записывал в базу  - поэтому и обнаружил эту проблему. 
 

 И ещё. Я не помню какой там сейчас дефолтный конфиг, но раньше он разрешал
 рекурсивные запросы делать всем. Не забудь запретить это и разрешать только тем,
 кому правда можно.

 --
 Best regards,
 Mikhail
 -
 WWW: http://www.antmix.ru/
 XMPP: antmix@stopicq.ru

 

--
Faithfully yours,


Vladimir Skubriev


Reply to: