Updated README
This commit is contained in:
parent
dcfcccda56
commit
8b89aa481f
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
Queries the mDNS record for a given .local address, and maps it to the given subdomains inside a hosts file
|
Queries the mDNS record for a given .local address, and maps it to the given subdomains inside a hosts file
|
||||||
|
|
||||||
|
Linux >5.1 only due to SO_BINDTOIFINDEX socket option.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### CLI Args
|
### CLI Args
|
||||||
|
@ -13,7 +15,7 @@ Queries the mDNS record for a given .local address, and maps it to the given sub
|
||||||
- 4 will query for an IPv4 address in the `192.168.0.0/16` subnet
|
- 4 will query for an IPv4 address in the `192.168.0.0/16` subnet
|
||||||
- 6 will query for a ULA IPv6 address in the `fd00::/8` subnet
|
- 6 will query for a ULA IPv6 address in the `fd00::/8` subnet
|
||||||
- 0 will do both
|
- 0 will do both
|
||||||
- `scope_id` is the interface numeric interface index as returned by `if_nametoindex`. Largely just to get around limitations on an unrooted android.
|
- `scope_id` is either the name of the interface, or the corresponding numeric interface index. The index is largely for unrooted android limitations.
|
||||||
|
|
||||||
### ENV vars
|
### ENV vars
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue