From 8b89aa481f5f22aade2ff0b3406b6d27c2efd26f Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Tue, 21 May 2024 14:07:09 +0500 Subject: [PATCH] Updated README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 080fc14..a1c32b8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ 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 ### 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 - 6 will query for a ULA IPv6 address in the `fd00::/8` subnet - 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