Skip to content

Commit

Permalink
Update config comments for IPv4-mapped IPv6 address
Browse files Browse the repository at this point in the history
  • Loading branch information
lifenjoiner committed Apr 17, 2023
1 parent 9b758e0 commit fe36502
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions default.config
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ BlockNegativeResponse false
# ��������˶��� IP����ô�� LIFO ���ء�
# ����ҵ�����ͬ�汾�Ľ������ô�ͷ�������
# ���ֻ������ IPv4���ֲ�ѯ IPv6����ô���� IPv4 ӳ��� IPv6 ��ַ, �� ::ffff::/96 �� DNS64�����ܽ�ʡ���ع��ʱ���ڴ档
#
# IPv4 ӳ��� IPv6 ��ַ:
# Windows Ĭ�ϴ��� IPv6-only �� socket����ʹ����ӿ��� IPv4/IPv6 ��ջ�ġ�
# ���ԣ������Ƿ�֧�֣�ȡ�������Ƿ��л����˶�ջ�� socket�����ƣ���֧�ֵĽ϶ࡣ
# Chrome �� go ����ij���֧�֣��� Firefox �� Rust ����ij���֧�֣�Ĭ������¡�
# ����ָ���� IPv4 �����ص������������Ҳ�ṩ IPv6���������������м����ԵĴ�����

# Hosts <STRING>
# Hosts �ļ��� URL�������DZ��� Hosts �ļ� (�� file:// ��ͷ��֧�����·��)��Ҳ�����������ϵ� Hosts �ļ� (�� http:// ���� https:// ��ͷ)�� (since 5.0.5)
Expand Down
6 changes: 6 additions & 0 deletions default.en.config
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ BlockNegativeResponse false
# If the item with same version is found, it is return.
# If only IPv4 is provide but IPv6 is queried, IPv4-mapped IPv6 address is return,
# like DNS64 with ::ffff::/96. It saves memory for ads blocking.
#
# IPv4-mapped IPv6 address:
# Windows creates IPv6-only socket by default, even the network interface is IPv4/IPv6 dual-stack.
# So, whether programs support it depend on whether they have switched to dual-stack socket. And don'ts are more.
# Chrome and golang compiled programs support it, while Firefox and Rust compiled programs don't, by default.
# For non-blocked hosts with specified IPv4, you'd better provide the IPv6, or use a compatible proxy for them.

# Hosts <STRING>
# Load hosts from files(local or remote) (since 5.0.5)
Expand Down

0 comments on commit fe36502

Please sign in to comment.