From b05056423a6572ffdf4600f6819234e85d9fbfff Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Tue, 18 Feb 2025 20:16:02 +0700 Subject: [PATCH] docs: add documentation for LAN queries --- docs/config.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/config.md b/docs/config.md index 77195c2..4f50af1 100644 --- a/docs/config.md +++ b/docs/config.md @@ -528,6 +528,15 @@ rules = [ ] ``` +If there is no explicitly defined rules, LAN queries will be handled solely by the OS resolver. + +These following domains are considered LAN queries: + +- Queries does not have dot `.` in domain name, like `machine1`, `example`, ... (1) +- Queries have domain ends with: `.domain`, `.lan`, `.local`. (2) +- All `SRV` queries of LAN hostname (1) + (2). +- `PTR` queries with private IPs. + --- Note that the order of matching preference: