r/voidlinux • • 22d 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 REQUEST

Is this normal with /etc/hosts populated with a blocklist?

6 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/bongbongyeah 21d ago

0.0.0.0 is a placeholder for all available ip's on the host, whereas 127.0.0.1 specifically is a loopback to the host device.
Idk if that is the answer to your question or completely missing the point.