V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
freaks
V2EX  ›  路由器

路由上的 dnsmasq 只要一下载就 down 掉,或者说有大量的并发请求

  •  
  •   freaks · 2017-01-15 16:22:12 +08:00 · 4053 次点击
    这是一个创建于 2651 天前的主题,其中的信息可能已经有所发展或是发生改变。

    1.是我配置不对吗? 这是路由器系统进程截图:

    2.这是我的配置:

    # auto-generated config file from /etc/config/dhcp
    conf-file=/etc/dnsmasq.conf
    dhcp-authoritative
    domain-needed
    no-hosts
    no-resolv
    localise-queries
    read-ethers
    bogus-priv
    expand-hosts
    domain=lan
    server=/lan/
    server=127.0.0.1#5353
    server=127.0.0.1#5353
    server=127.0.0.1#5353
    server=127.0.0.1#5353
    server=127.0.0.1#5353
    dhcp-leasefile=/tmp/dhcp.leases
    addn-hosts=/tmp/hosts
    conf-dir=/etc/dnsmasq.d
    stop-dns-rebind
    rebind-localhost-ok
    dhcp-broadcast=tag:needs-broadcast
    dhcp-range=lan,192.168.1.100,192.168.1.109,255.255.255.0,12h
    no-dhcp-interface=eth0.2
    
    

    3.这个进程是我重启服务后才看到的,只要我一下载就打不开网页了:

    6 条回复    2017-02-07 17:01:14 +08:00
    cos
        1
    cos  
       2017-01-15 16:28:33 +08:00
    server=127.0.0.1#5353 这一行为何要重复这么多? 5353 上侦听的是什么服务?
    freaks
        2
    freaks  
    OP
       2017-01-15 16:32:30 +08:00
    @cos 不知道是否有效果,就是防止 dns 转发失败, chinadns
    CloudnuY
        3
    CloudnuY  
       2017-01-15 16:51:30 +08:00
    实时监测下内存
    skydiver
        4
    skydiver  
       2017-01-15 21:22:26 +08:00
    不需要重复这么多遍吧……
    skydiver
        5
    skydiver  
       2017-01-15 21:22:55 +08:00
    而且挂掉之后是什么情况, dnsmasq 挂了 还是 5353 端口挂了
    whx20202
        6
    whx20202  
       2017-02-07 17:01:14 +08:00
    @cos 5353 估计是 dnsencrypt
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5242 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:42 · PVG 16:42 · LAX 01:42 · JFK 04:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.