From: Michael Tremer Date: Wed, 3 Apr 2024 10:24:16 +0000 (+0000) Subject: location: DNS: Add prefix.location.ipfire.org X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=240ea047c7d1a0a133bc4e29ad0773ce5607f8be;p=ipfire.org.git location: DNS: Add prefix.location.ipfire.org Signed-off-by: Michael Tremer --- diff --git a/src/templates/location/how-to-use/dns.html b/src/templates/location/how-to-use/dns.html index 66f34cd7..f8951d6f 100644 --- a/src/templates/location/how-to-use/dns.html +++ b/src/templates/location/how-to-use/dns.html @@ -100,6 +100,28 @@ $ dig +short TXT 38.27.3.81.origin.location.ipfire.org +
+
+

+ {{ _("Query Prefixes") }} - prefix.location.ipfire.org +

+ +
+

+ You can query an IP address for the subnet it belongs to. + This won't always match the announced route in the global + routing table. +

+
+ +
$ dig +short TXT 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.b.0.8.7.6.0.1.0.0.2.prefix.location.ipfire.org
+"2001:678:b28::/48"
+
+$ dig +short TXT 8.8.8.8.prefix.location.ipfire.org
+"8.8.8.0/24"
+
+
+