Skip to content

Instantly share code, notes, and snippets.

@kopijahe
kopijahe / openwrt-reddit
Last active August 8, 2018 02:37
Reddit relevant hostname for OpenWRT
config domain
option name 'i.redditmedia.com'
option ip '151.101.65.140'
config domain
option name 'senbird.reddit.com'
option ip '151.101.65.140'
config domain
option name 'a.thumbs.redditmedia.com'
@kopijahe
kopijahe / pihole_dnscrypt-proxy_captive_portal_bypass.md
Last active January 23, 2023 16:53
Bypass dnscrypt-proxy for network captive portal when using pihole

English

  1. Login to your pihole using SSH
  2. Create a new configuration file in /etc/dnsmasq.d/ folder (use 00- prefix, for example 00-wifiid.conf
  3. Insert strict-order and your captive portal's DNS server in the new file, for example when using this on wifi.id networks:
strict-order  
server=/wifi.id/118.98.44.100  
server=/iwifi.id/118.98.44.100
server=/connectivitycheck.gstatic.com/118.98.44.100