{"action":"created","issue":{"url":"https://api.github.com/repos/guifi/dnsservices/issues/1","labels_url":"https://api.github.com/repos/guifi/dnsservices/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/guifi/dnsservices/issues/1/comments","events_url":"https://api.github.com/repos/guifi/dnsservices/issues/1/events","html_url":"https://github.com/guifi/dnsservices/pull/1","id":124064065,"number":1,"title":"afegir forwarders a view \"internal\" per a DNSForwarding","user":{"login":"esteveolm","id":8266474,"avatar_url":"https://avatars.githubusercontent.com/u/8266474?v=3","gravatar_id":"","url":"https://api.github.com/users/esteveolm","html_url":"https://github.com/esteveolm","followers_url":"https://api.github.com/users/esteveolm/followers","following_url":"https://api.github.com/users/esteveolm/following{/other_user}","gists_url":"https://api.github.com/users/esteveolm/gists{/gist_id}","starred_url":"https://api.github.com/users/esteveolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esteveolm/subscriptions","organizations_url":"https://api.github.com/users/esteveolm/orgs","repos_url":"https://api.github.com/users/esteveolm/repos","events_url":"https://api.github.com/users/esteveolm/events{/privacy}","received_events_url":"https://api.github.com/users/esteveolm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T12:52:09Z","updated_at":"2015-12-28T13:18:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guifi/dnsservices/pulls/1","html_url":"https://github.com/guifi/dnsservices/pull/1","diff_url":"https://github.com/guifi/dnsservices/pull/1.diff","patch_url":"https://github.com/guifi/dnsservices/pull/1.patch"},"body":"Hola Miquel,\r\n\r\nHe fet un petit canvi al dnsservices que tenim a Mataró. He afegit que faci DNS Forwarding cap al servidor DNS de guifi (109.69.8.196), d'aquesta manera aconsegueixo:\r\n\r\n* minimitzar trafic extern: ja que les peticions DNS es queden dins de la xarxa guifi.\r\n* millor temps de resposta: al no haver de fer les peticions cap als root DNS, que sempre van més carregats.\r\n* millors respostes: ara si fem un \"nslookup google.com\" respon amb varies adreces IP del campus nord. Abans, sense el dns forwarding, ho feia amb una sola IP  de Mountain View\r\n\r\nSegurament es pugui millorar a nivell de configuració, que no posi la IP a pinyó, però això t'ho deixo per tu...\r\n\r\nSalut!\r\n\r\nEsteve"},"comment":{"url":"https://api.github.com/repos/guifi/dnsservices/issues/comments/167566803","html_url":"https://github.com/guifi/dnsservices/pull/1#issuecomment-167566803","issue_url":"https://api.github.com/repos/guifi/dnsservices/issues/1","id":167566803,"user":{"login":"miquelmartos","id":425509,"avatar_url":"https://avatars.githubusercontent.com/u/425509?v=3","gravatar_id":"","url":"https://api.github.com/users/miquelmartos","html_url":"https://github.com/miquelmartos","followers_url":"https://api.github.com/users/miquelmartos/followers","following_url":"https://api.github.com/users/miquelmartos/following{/other_user}","gists_url":"https://api.github.com/users/miquelmartos/gists{/gist_id}","starred_url":"https://api.github.com/users/miquelmartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miquelmartos/subscriptions","organizations_url":"https://api.github.com/users/miquelmartos/orgs","repos_url":"https://api.github.com/users/miquelmartos/repos","events_url":"https://api.github.com/users/miquelmartos/events{/privacy}","received_events_url":"https://api.github.com/users/miquelmartos/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T13:18:36Z","updated_at":"2015-12-28T13:18:36Z","body":"Bones!\r\nRecorda que estem parlant del view \"internal\", aquest view actua en les adreces 10.x per a les adreces internes, es a dir, que això per si sol hauria de funcionar sense que el servidor DNS tingui internet, resolent únicament dominis dins de la xarxa guifi.net.\r\nPer defecte en cas de tenir internet utilitza el fitxer named.root directament dels root servers, que consultar als root servers sigui millor o pitjor que consultar als servidors de google es discutible.\r\nTeoricament els servidors de google només aporten balanceig de les propies IP's de google resolent en molts casos la ip mes propera i res mes. Per tant aquest commit no el podem aplicar.\r\n\r\nAltre cosa que es podríeu fer en tot cas, es afegir les zones de google al fitxer named.conf.int.private.\r\n\r\nnamed.conf.int.private:\r\n   zone \"google.es\" {\r\n        type forward;\r\n        forward only;\r\n        forwarders  { 8.8.8.8; 8.8.4.4; };\r\n    };\r\n\r\n        zone \"google.cat\" {\r\n        type forward;\r\n        forward only;\r\n        forwarders  { 8.8.8.8; 8.8.4.4; };\r\n    };\r\n\r\n        zone \"google.com\" {\r\n        type forward;\r\n        forward only;\r\n        forwarders  { 8.8.8.8; 8.8.4.4; };\r\n    };\r\n"}}