1121219165@lemmy.zip to Programmer Humor@programming.dev · 10 hours agoHome Sweet Homelemmy.zipimagemessage-square50linkfedilinkarrow-up1375arrow-down113
arrow-up1362arrow-down1imageHome Sweet Homelemmy.zip1121219165@lemmy.zip to Programmer Humor@programming.dev · 10 hours agomessage-square50linkfedilink
minus-squareRedSnt ♾️🦋♂️👓🖥️🐧@feddit.dklinkfedilinkEnglisharrow-up2·8 hours agoThis is more of a meta comment. I put [CustomHosts] 127.0.0.1 localhost.ip4 ::1 localhost.ip6 in /etc/systemd/resolved.conf.d/custom-hosts.conf / /etc/hosts/ (sans the header) to make it a 1 character edit to switch between localhost ipv4 and localhost ipv6.
minus-squareOliMoli2137@piefed.sociallinkfedilinkEnglisharrow-up2·5 hours ago/etc/hosts is a file, why the leading slash
minus-squareRedSnt ♾️🦋♂️👓🖥️🐧@feddit.dklinkfedilinkEnglisharrow-up1·4 hours agoI meant, the /etc/hosts file doesn’t need the [CustomHosts] header.
This is more of a meta comment. I put
[CustomHosts] 127.0.0.1 localhost.ip4 ::1 localhost.ip6in
/etc/systemd/resolved.conf.d/custom-hosts.conf//etc/hosts/(sans the header) to make it a 1 character edit to switch between localhost ipv4 and localhost ipv6./etc/hostsis a file, why the leading slashI meant, the
/etc/hostsfile doesn’t need the[CustomHosts]header.