jacy
V2EX  ›  DNS

自己搭建的 dnsmasq 突然不工作了,被和谐了?

  •  
  •   jacy · Nov 8, 2014 · 7383 views
    This topic created in 4217 days ago, the information mentioned may be changed or developed.
    国内有台vps搭了dnsmasq,配合国外vps的sniproxy用,几个月来一直很稳定,今天突然不工作了,什么都没动过。
    现象:dns解析超时,检查后发现:dnsmasq正常运行,内部请求正常(使用nslookup xxx.xxx 127.0.0.1能正常解析,日志也能查到),但我从外部请求则不行,查看日志也没记录外部请求的条目。53端口开放正常,从外部也能扫描到53是开放的。
    怎么回事?
    Supplement 1  ·  Nov 10, 2014
    初步判断是被vps服务商做了手脚,因为dnsmasq监听其他端口可以工作,应该是把53给封了。但是外部端口扫描能坚持到53是开发的,什么原因呢?

    用53dig:
    ; <<>> DiG 9.5.1 <<>> @x .x.x.x g.cn
    ; (1 server found)
    ;; global options: printcmd
    ;; connection timed out; no servers could be reached


    用非53:
    ; <<>> DiG 9.5.1 <<>> @x .x.x.x -p 12345 g.cn
    ; (1 server found)
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 498
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONA

    ;; QUESTION SECTION:
    ;g.cn. IN A

    ;; ANSWER SECTION:
    g.cn. 300 IN A 203.208.46.211
    g.cn. 300 IN A 203.208.46.212
    g.cn. 300 IN A 203.208.46.209
    g.cn. 300 IN A 203.208.46.210
    g.cn. 300 IN A 203.208.46.208

    ;; Query time: 305 msec
    ;; SERVER: 117.78.17.156#12345(117.78.17.156)
    ;; WHEN: Mon Nov 10 12:39:18 2014
    ;; MSG SIZE rcvd: 102
    1 replies    2014-11-11 11:03:05 +08:00
    garlic
        1
    garlic  
       Nov 11, 2014
    求助,关于校园网的事
    校园网 srun pppoe 客户端每隔 50 秒发个包。用了路由器的结果就是 50 秒一断。

    求 openwrt 心跳包插件
    从 52098 端口发送 56 字节数据到认证服务器 ip 端口:3338 采用 udp 数据:账号 11 字节+21 个空字符 +Mac 地址 17 字节+7 个空字符
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1009 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:14 · PVG 03:14 · LAX 12:14 · JFK 15:14
    ♥ Do have faith in what you're doing.