Are you an LLM? You can read better optimized documentation at /en\document\ip_rule.md for this page in Markdown format
IP rules
IPV4
IP-CIDR,118.89.204.198/32,no-resolveIPV6
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128GEOIP
Matches the country or region of the IP as resolved from the local mmdb database.
geoip,cn,DIRECTIP-ASN
Matches the autonomous system (ISP) of the IP.
IP-ASN,4134,DIRECT,no-resolveno-resolve is optional: when set, the rule only applies to destinations that are already IP addresses. A destination given as a domain name will not be resolved first in order to be tested against this rule. To avoid pointless DNS requests for domain destinations, add no-resolve to every rule that targets plain IP addresses.
