Advertisement
Guest User

/etc/dnsmasq.d/01-pihole.conf

a guest
Mar 6th, 2022
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. # Pi-hole: A black hole for Internet advertisements
  2. # (c) 2015, 2016 by Jacob Salmela
  3. # Network-wide ad blocking via your Raspberry Pi
  4. # http://pi-hole.net
  5. # dnsmasq config for Pi-hole
  6. #
  7. # Pi-hole is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation, either version 2 of the License, or
  10. # (at your option) any later version.
  11.  
  12. ###############################################################################
  13. # FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE. #
  14. # ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
  15. # #
  16. # IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN: #
  17. # /etc/pihole/setupVars.conf #
  18. # #
  19. # ANY OTHER CHANGES SHOULD BE MADE IN A SEPERATE CONFIG FILE #
  20. # OR IN /etc/dnsmasq.conf #
  21. ###############################################################################
  22.  
  23. addn-hosts=/etc/pihole/local.list
  24. addn-hosts=/etc/pihole/custom.list
  25. localise-queries
  26. no-resolv
  27. cache-size=10000
  28. log-queries
  29. log-facility=/run/log/pihole/pihole.log
  30. local-ttl=2
  31. log-async
  32. # If a DHCP client claims that its name is "wpad", ignore that.
  33. # This fixes a security hole. see CERT Vulnerability VU#598349
  34. dhcp-name-match=set:wpad-ignore,wpad
  35. dhcp-ignore-names=tag:wpad-ignore
  36. server=1.1.1.1
  37. server=8.8.4.4
  38. interface=enp1s0
  39. server=1.1.1.1
  40. local-service
  41. server=1.1.1.1
  42. server=1.0.0.1
  43. server=2606:4700:4700::1111
  44. server=2606:4700:4700::1001
  45. local-service
  46. server=1.1.1.1
  47. server=1.0.0.1
  48. server=2606:4700:4700::1111
  49. server=2606:4700:4700::1001
  50. local-service
  51. server=208.67.222.222
  52. server=208.67.220.220
  53. server=2620:119:35::35
  54. server=2620:119:53::53
  55. server=1.1.1.1
  56. server=1.0.0.1
  57. server=2606:4700:4700::1111
  58. server=2606:4700:4700::1001
  59. local-service
  60. server=1.1.1.1
  61. server=1.0.0.1
  62. server=2606:4700:4700::1111
  63. server=2606:4700:4700::1001
  64. server=1.1.1.1
  65. server=1.0.0.1
  66. server=2606:4700:4700::1111
  67. server=2606:4700:4700::1001
  68. local-service
  69.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement