Skip to content

binance和okx dns解析错误 #2

@14790897

Description

@14790897

Google,YouTube正常,但请求binance会返回0.0.0.0,请求okx会返回169.254.0.2

~ curl -v "https://www.okx.com"


*   Trying 169.254.0.2:443...
^C
➜  ~ curl -v "https://www.binance.com"


*   Trying 0.0.0.0:443...
* connect to 0.0.0.0 port 443 failed: 拒绝连接
*   Trying [::]:443...
* connect to :: port 443 failed: 拒绝连接
* Failed to connect to www.binance.com port 443 after 16 ms: Couldn't connect to server
* Closing connection 0
curl: (7) Failed to connect to www.binance.com port 443 after 16 ms: Couldn't connect to server

而其它机器都能使用openwrt代理

当我在其他主机上运行docker版的openWRT,还是同样的机器就能正常的访问

~ curl "https://www.binance.com"~ curl https://www.binance.com 


➜  ~ curl https://www.okx.com/api/v5/public/instruments\?instType\=FUTURES                       
{"code":"0","data":[{"alias":"next_quarter","auctionEndTime":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"MEMEFI","expTime":"1745568000000","instFamily":"MEMEFI-USDT","instId":"MEMEFI-USDT-250425","instType":"FUTURES","lever":"5","listTime":"1729839600188","lotSz":"1","maxIcebergSz":"100000000.0000000000000000","maxLmtAmt":"20000000","maxLmtSz":"100000000","maxMktAmt":"","maxMktSz":"1000","maxStopSz":"1000","maxTriggerSz":"100000000.0000000000000000","maxTwapSz":"100000000.0000000000000000","minSz":"1","optType":"","quoteCcy":"","ruleType":"pre_market","settleCcy":"USDT","state":"live","stk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions