MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
17.06k stars 2.69k forks source link

[Bug] fakeip模式中取消ipv6解析无效 #484

Open chummumm opened 1 year ago

chummumm commented 1 year ago

Verify steps

Clash version

alpha-g2f992e9

What OS are you seeing the problem on?

Linux

Clash config

ipv6: true
interface-name: pppoe-WAN
geodata-mode: true
geodata-loader: standard
tcp-concurrent: true
global-client-fingerprint: random
dns:  enable: true
  ipv6: false
  enhanced-mode: fake-ip

Clash log

No response

Description

fakeip模式下取消ipv6 dns解析无效

Skyxim commented 1 year ago

解析 IPv6 只正对 AAAA 的 DNS 请求,对内不会影响核心自己使用 V6,你需要关闭这个需要禁用这个 image

chummumm commented 1 year ago

后续内核更新可能会增加这个控制内核内部解析的功能吗?

Skyxim commented 1 year ago

@chummumm 那个就是了。他会禁用 v6 包括向外暴露的 DNS 解析

chummumm commented 1 year ago

可是我还是希望通过ipv6链接我的vps,只是不希望网页解析到ipv6

ArchGuyWu commented 1 year ago

@chummumm DNS里disable掉ipv6,ipv6总开关保持开启就行

Skyxim commented 1 year ago

之前改过,由于和上游行为保持不一致,删除这部分逻辑了

Skyxim commented 1 year ago

其实 DIRECT 的一些设置可以做,如同节点的 ip-version: ipv4 ( DIRECT 暂不支持设置

chummumm commented 1 year ago

哦哦哦,好的,谢谢大佬

GeorgeRudd commented 1 year ago

期待DIRECT可以设置ip-version