add mdns-lookup option
This commit is contained in:
@@ -5,6 +5,8 @@ hide:
|
||||
|
||||
# Parsing Local Hostnames
|
||||
|
||||
## Using DNSMASQ Lease File
|
||||
|
||||
SmartDNS can support the resolution of local hostname->IP address by cooperating with DNSMASQ dhcp lease file. SmartDNS can be configured to read the lease file of dnsmasq and support resolution. The specific configuration parameters are as follows
|
||||
(Note that DNSMASQ lease files may vary from system to system and need to be configured according to actual conditions)
|
||||
|
||||
@@ -17,3 +19,10 @@ After the configuration is completed, you can directly connect to the correspond
|
||||
1. The Windows system defaults to using mDNS to resolve addresses. If you need to use smartdns for resolution under Windows, you need to add `.` after the hostname to indicate the use of DNS resolution, such as `ping smartdns.`
|
||||
1. SmartDNS will monitor file changes periodically and automatically load mapping relationships that have changed.
|
||||
|
||||
## Using mDNS Lookup
|
||||
|
||||
SmartDNS can use mDNS to query local hostnames or IP addresses. The specific configuration is as follows:
|
||||
|
||||
```shell
|
||||
mdns-lookup yes
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user