Live data from Hacker News

iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

gitlab.com

11–20 of 114 posts

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#12
post #9

a local firewall (hands off & little snitch are handy commercial ones for mac) will help you catch these kinds of info leaks (i caught this one a long time ago because of mine). it does come with a time cost however--little popups every time you launch a new application or connect to a new service that you have to evaluate and handle, since you haven't set rules for them already.

A local firewall probably wouldn't have helped here -- the DNS lookups would be performed by mDNSResponder, not by iTerm itself.

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#13
post #3

Since I didn't see it on a quick skim, it seems that the way to do this is Preferences > Advanced > Semantic history.

Based on this note[1], you can also disable with: Preferences > Pointer > CMD+Click Opens Filename/URL

[1]https://gitlab.com/gnachman/iterm2/issues/3688#note_1665347

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#14
post #10
post #6

Earlier quoted context omitted.

Just ditch it - clearly the author has no regard for privacy. I cringe just thinking about implementing something like that.

I don't think it's worth throwing the baby out with the bathwater. But this should at a minimum be an opt-in feature, and not opt-out. Better yet, it's probably not needed. I've almost never needed to interact with URLs in a clickable way via a terminal.

I do but I always know if they are valid before I click on them, so I don't see the appeal of the DNS lookup. Plus that must be freaking slow.

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#18
post #9

a local firewall (hands off & little snitch are handy commercial ones for mac) will help you catch these kinds of info leaks (i caught this one a long time ago because of mine). it does come with a time cost however--little popups every time you launch a new application or connect to a new service that you have to evaluate and handle, since you haven't set rules for them already.

A local firewall probably wouldn't have helped here -- the DNS lookups would be performed by mDNSResponder, not by iTerm itself.

you might be right about the DNS lookup.

but i do distinctly remember getting alerts for this and being annoyed enough to go figure out how to disable the feature in iterm2 (it was at least a couple years ago, so my memory is hazy).

maybe someone with more recent experience can clear up the mystery for us. =)

Post reply on HN