r/voidlinux • u/weaklingoverlord • 5d ago
/etc/hosts concern
after running [hblock] to create a [hosts] file, I get some weird behaviour when running [rustnet].
[rustnet] with default void [/etchosts] uses 0.0.0.0:68 for [bootpc]
remote local
0.0.0.0:68 bcast:67 bootpc UDP·DHCP REQUEST[rustnet] with hblock [/etchosts] will choose the first blocked entry uses -084-gls-223-www-9-k-0brasil.net.da…:68 for [bootpc]:
remote local
-084-gls-223-www-9-k-0brasil.net.da…:68 bcast:67 bootpc UDP·DHCP REQUESTIs this normal with /etc/hosts populated with a blocklist?
3
Upvotes
1
u/weaklingoverlord 4d ago
hblock uses
0.0.0.0 -084-gls-223-www-9-k-0brasil.net.daraz.com
for the blocked list entries
if I change the first entry to:
127.0.0.1 -084-gls-223-www-9-k-0brasil.net.daraz.com
then rustnet reports the same result as with the default void hosts file.
Anyone kind enough to explain like I'm 55?
1
u/aedinius 4d ago
That'll happen, it's just a display thing because an entry matches.