DNSMASQ Send Different DHCP Options by Hosts

I choose DNSMASQ as DHCP server, and I want to push different ‘router’ setting to clients.

DNSMASQ supports tagging on hosts/ip ranges/subnets, I tag my mac address (with static ip-mac binding) as ‘prx’ and set ‘option:router’ to 192.168.1.20 if tag matches ‘prx’.

Here is my configuration:

DNSMASQ Send Different DHCP Options by Hosts by @sskaje: https://sskaje.me/2016/10/dnsmasq-send-dhcp-options-hosts/

Setup WPAD on Asus Merlin

I have flashed my Asus RT-AC68U to Merlin, SSH has been enabled.

This is a tutorial about setting up WPAD on Asus router.

Environment

Router: RT-AC68U
Firmware: Merlin 380.59
Router IP: 192.168.1.1
Local Domain: my.home.local
Router Admin Account: admin
DHCPd: dnsmasq

Prepare

SSH to router, and check files.

Web root is set to /www, there is a wpad.dat but a dead link to /www/ext/proxy.pac, which does not exist on the router.

Continue reading “Setup WPAD on Asus Merlin” »

Setup WPAD on Asus Merlin by @sskaje: https://sskaje.me/2016/07/setup-wpad-asus-merlin/

dnsmasq 劫持所有域名

dns劫持以前都是黑名单模式
有需要拦截的加server劫持整个域名解析

或者单个address劫持单记录

还可以通配模式

白名单模式先劫持所有域名

开放解析的时候只需要加server指向正常的DNS服务器就行

dnsmasq 劫持所有域名 by @sskaje: https://sskaje.me/2015/09/dnsmasq-%e5%8a%ab%e6%8c%81%e6%89%80%e6%9c%89%e5%9f%9f%e5%90%8d/

Incoming search terms: