-2

I'm trying to set up dnsmasq to block some websites, but it only works when accessing that site via http and not when accessing it via https.

Is it somehow not possible to block https requests via dnsmasq?

DomeWTF
  • 127
  • 2
  • 1
    DNS doesn't care whether you are accessing site over HTTP or HTTPS, because DNS resolution is done before starting web session. – Tejas Sarade Jun 27 '18 at 05:42

1 Answers1

1

Dnsmasq provides Domain Name System (DNS) forwarder, Dynamic Host Configuration Protocol (DHCP) server.

So dnsmasq can not block http and https.

  • **DNS** is capable to perform translation of domain names like **serverfault.com --> 151.101.65.69**. The programm requesting this translation then uses the IP address to perform further action. Please be aware that this is not a security feature because DNS server at clients computers might be changed. Your should maybe lookup **DNS Blackhole** and **Proxy**. – Kevin K. Jun 27 '18 at 07:41
  • I know this, but it's what's actually happening... requests for http websites are being logged and https website requests are not – DomeWTF Jun 27 '18 at 08:42