Closed ddl-jbrown closed 2 years ago
any progress on this ? thanks
@ddl-jbrown thanks for bringing up this issue. I'm working on a solution with the --uniq
param. But I'm thinking if it should always treat the pairs domain/ip as unique per profile as default. What do you think?
/cc @lukasmrtvy
Fixed on release v1.1.0. Thanks for the feedback!
Describe the bug hostctl appears to not be idempotent when it adds entries for the same domain + ip when run multiple times.
To Reproduce Run this command multiple times (
--uniq
doesn't seem to make a difference)Current behavior
Expected behavior When running the command above,
/tmp/test-hosts
should only contain one uniq entry.Example of what it should look like
System (please complete the following information):
Additional context