Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, [unfortunately?] wildcards don't work here, so you can't do something like *.facebook.com.

You could either list out all the domains or use something like dnsmasq or another DNS proxy that lets you define more sophisticated rules.

Edit: the advantages of the /etc/hosts approach are it's simple, and it works without additional software.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: