Skip to content

Commit

Permalink
documentation: Update changelog, status icons and DNS rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Feb 6, 2024
1 parent 72e8d99 commit 63e61ed
Show file tree
Hide file tree
Showing 23 changed files with 104 additions and 82 deletions.
18 changes: 18 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
icon: material/alert-decagram
---

#### 1.9.0-alpha.1

* `domain_suffix` behavior update **1**
* `process_path` format update on Windows **2**
* Add address filter DNS rule items **3**

**1**:

See [Migration](/migration/#domain_suffix-behavior-update).

**2**:

See [Migration](/migration/#process_path-format-update-on-windows).

**3**:

See [Address Filter Filds](/configuration/dns/rule#address-filter-fields).

#### 1.8.5

* Fixes and improvements
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration/dns/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

### Fields

| Key | Format |
|----------|--------------------------------|
| Key | Format |
|----------|---------------------------------|
| `server` | List of [DNS Server](./server/) |
| `rules` | List of [DNS Rule](./rule/) |
| `fakeip` | [FakeIP](./fakeip/) |
Expand Down
42 changes: 41 additions & 1 deletion docs/configuration/dns/rule.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
icon: material/alert-decagram
icon: material/new-box
---

!!! quote "Changes in sing-box 1.9.0"

:material-plus: [geoip](#geoip)
:material-plus: [ip_cidr](#ip_cidr)
:material-plus: [ip_is_private](#ip_is_private)

!!! quote "Changes in sing-box 1.8.0"

:material-plus: [rule_set](#rule_set)
Expand Down Expand Up @@ -53,11 +59,19 @@ icon: material/alert-decagram
"source_geoip": [
"private"
],
"geoip": [
"cn"
],
"source_ip_cidr": [
"10.0.0.0/24",
"192.168.0.1"
],
"source_ip_is_private": false,
"ip_cidr": [
"10.0.0.0/24",
"192.168.0.1"
],
"ip_is_private": false,
"source_port": [
12345
],
Expand Down Expand Up @@ -312,6 +326,32 @@ Disable cache and save cache in this query.

Rewrite TTL in DNS responses.

### Address Filter Fields

Only takes effect for IP address requests. When the query results do not match the address filtering rule items, the current rule will be skipped.

!!! note ""

`ip_cidr` items in included rule sets also takes effect as an address filtering field.

#### geoip

!!! question "Since sing-box 1.9.0"

Match GeoIP with query response.

#### ip_cidr

!!! question "Since sing-box 1.9.0"

Match IP CIDR with query response.

#### ip_is_private

!!! question "Since sing-box 1.9.0"

Match private IP with query response.

### Logical Fields

#### type
Expand Down
45 changes: 43 additions & 2 deletions docs/configuration/dns/rule.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
icon: material/alert-decagram
icon: material/new-box
---

!!! quote "sing-box 1.9.0 中的更改"

:material-plus: [geoip](#geoip)
:material-plus: [ip_cidr](#ip_cidr)
:material-plus: [ip_is_private](#ip_is_private)

!!! quote "sing-box 1.8.0 中的更改"

:material-plus: [rule_set](#rule_set)
Expand Down Expand Up @@ -53,10 +59,19 @@ icon: material/alert-decagram
"source_geoip": [
"private"
],
"geoip": [
"cn"
],
"source_ip_cidr": [
"10.0.0.0/24"
"10.0.0.0/24",
"192.168.0.1"
],
"source_ip_is_private": false,
"ip_cidr": [
"10.0.0.0/24",
"192.168.0.1"
],
"ip_is_private": false,
"source_port": [
12345
],
Expand Down Expand Up @@ -307,6 +322,32 @@ DNS 查询类型。值可以为整数或者类型名称字符串。

重写 DNS 回应中的 TTL。

### 地址筛选字段

仅对IP地址请求生效。 当查询结果与地址筛选规则项不匹配时,将跳过当前规则。

!!! note ""

引用的规则集中的 `ip_cidr` 项也作为地址筛选字段生效。

#### geoip

!!! question "自 sing-box 1.8.0 起"

与查询响应匹配 GeoIP。

#### ip_cidr

!!! question "自 sing-box 1.8.0 起"

与查询相应匹配 IP CIDR。

#### ip_is_private

!!! question "自 sing-box 1.8.0 起"

与查询响应匹配非公开 IP。

### 逻辑字段

#### type
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/experimental/cache-file.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/new-box
---

!!! question "Since sing-box 1.8.0"

### Structure
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/experimental/cache-file.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/new-box
---

!!! question "自 sing-box 1.8.0 起"

### 结构
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/experimental/clash-api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

!!! quote "Changes in sing-box 1.8.0"

:material-delete-alert: [store_mode](#store_mode)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/experimental/clash-api.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

!!! quote "sing-box 1.8.0 中的更改"

:material-delete-alert: [store_mode](#store_mode)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/experimental/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

# Experimental

!!! quote "Changes in sing-box 1.8.0"
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/experimental/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

# 实验性

!!! quote "sing-box 1.8.0 中的更改"
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/inbound/tun.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

!!! quote "Changes in sing-box 1.8.0"

:material-plus: [gso](#gso)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/inbound/tun.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

!!! quote "sing-box 1.8.0 中的更改"

:material-plus: [gso](#gso)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/outbound/wireguard.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/new-box
---

!!! quote "Changes in sing-box 1.8.0"

:material-plus: [gso](#gso)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/outbound/wireguard.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/new-box
---

!!! quote "sing-box 1.8.0 中的更改"

:material-plus: [gso](#gso)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/route/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

# Route

!!! quote "Changes in sing-box 1.8.0"
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/route/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

# 路由

!!! quote "sing-box 1.8.0 中的更改"
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/route/rule.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

!!! quote "Changes in sing-box 1.8.0"

:material-plus: [rule_set](#rule_set)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/route/rule.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

!!! quote "sing-box 1.8.0 中的更改"

:material-plus: [rule_set](#rule_set)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/rule-set/headless-rule.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/new-box
---

### Structure

!!! question "Since sing-box 1.8.0"
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/rule-set/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/new-box
---

# Rule Set

!!! question "Since sing-box 1.8.0"
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/rule-set/source-format.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/new-box
---

# Source Format

!!! question "Since sing-box 1.8.0"
Expand Down
5 changes: 0 additions & 5 deletions docs/configuration/shared/tls.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
---
icon: material/alert-decagram
---


!!! quote "Changes in sing-box 1.8.0"

:material-alert-decagram: [utls](#utls)
Expand Down
4 changes: 0 additions & 4 deletions docs/configuration/shared/tls.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
icon: material/alert-decagram
---

!!! quote "sing-box 1.8.0 中的更改"

:material-alert-decagram: [utls](#utls)
Expand Down

0 comments on commit 63e61ed

Please sign in to comment.