找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: lovejoy

利用dnsmasq自动fan wall及防dns劫持

[复制链接]
发表于 2012-2-4 19:50 | 显示全部楼层
haorui658 发表于 2011-8-6 23:05
支持楼主, 不错哦

gfskz.blog.163.com
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-2-4 19:50 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-2-4 19:51 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-8-27 17:08 | 显示全部楼层
蛋疼在路由器的dnsmasq 配置文件里面加了一条。。。

  1. address=/360.cn/127.0.0.1                                    
  2. address=/.360.cn/127.0.0.1
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-10-10 22:20 | 显示全部楼层
请教楼主,openwrt的dnsmasq.conf文件该加在哪里?
比如address=/google.com/8.8.8.8

以下是dnsmasq.conf的全文,小白不知道该加在哪一行

# Change the following lines if you want dnsmasq to serve SRV
# records.
# You may add multiple srv-host lines.
# The fields are <name>,<target>,<port>,<priority>,<weight>

# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 289
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389

# Two SRV records for LDAP, each with different priorities
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2

# A SRV record indicating that there is no LDAP server for the domain
# example.com
#srv-host=_ldap._tcp.example.com

# The following line shows how to make dnsmasq serve an arbitrary PTR
# record. This is useful for DNS-SD.
# The fields are <name>,<target>
#ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-services"

# Change the following lines to enable dnsmasq to serve TXT records.
# These are used for things like SPF and zeroconf.
# The fields are <name>,<text>,<text>...

#Example SPF.
#txt-record=example.com,"v=spf1 a -all"

#Example zeroconf
#txt-record=_http._tcp.example.com,name=value,paper=A4

# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
# The fields are <cname>,<target>
#cname=bertand,bert
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-11-1 14:21 | 显示全部楼层
xiaoxiao001 发表于 2012-10-10 22:20
请教楼主,openwrt的dnsmasq.conf文件该加在哪里?
比如address=/google.com/8.8.8.8

加在最后面
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-4 13:52 | 显示全部楼层
改了hosts好像没什么作用啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 01:45

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表