İçeriğe atla

Final Unicourse'tan Çalış, Yüksek Notu Garantile!

%25 İndirim Kodu: FRM25
Yükleniyor...
Dersi İzle
GÖRÜNTÜLEYENLER
+36
Premium Özellik
Bu konuyu kimlerin görüntülediğini görmek için Premium üyelik gerekir.
Premium'a Geç

Vizesine Unicourse'tan Çalış, Yüksek Notu Garantile!

A B C D Çıkmış Sorular Formül Kağıtları Konu Anlatımı Sınav İpuçları Örnek Sınav
Dersi İzle
Red Bull Basement
SPONSORLU ETKİNLİK

Fikrini Gerçeğe Dönüştür

Projeni dünyaya göstermek için sahne hazır. Red Bull Basement başvuruları açık.

Başvurunu Yap

🎉 Foruma Yeni Özellik Geldi!

Sizin için PDF toollarını getirdik!

How does DNS over https work?

techsupport
8 3 0
  • I have two routers. One of them encrypts everything with a wireguard interface and routes all traffic through my VPN provider. The other one is "plain", unencrypted, and it is used for services that need a public IP. If all these services need is a public IP address that leads to the router's wan port, I can still encrypt my DNS traffic, I thought, so I set up DNS over https (DoH), using my VPN provider's servers. To do this on OpenWRT, which is my router's operating system, I needed to download any one package that provides this functionality. I couldn't just configure ports, firewall rules, NAT or whatever and be happy... Of the settings that this DoH package came with lets you choose a "bootstrap DNS". It was configured to Google's and Cloudflare's servers by default, but I changed it to Quad9's. Everything works fine. My VPN provider confirms that I am using their DNS servers and that my DNS traffic is encrypted.

    What is going on under the hood? What is this "bootstrap DNS"? Why isn't it as easy as exchanging public keys, as with regular traffic that goes through my VPN router's wireguard port?

  • I have two routers. One of them encrypts everything with a wireguard interface and routes all traffic through my VPN provider. The other one is "plain", unencrypted, and it is used for services that need a public IP. If all these services need is a public IP address that leads to the router's wan port, I can still encrypt my DNS traffic, I thought, so I set up DNS over https (DoH), using my VPN provider's servers. To do this on OpenWRT, which is my router's operating system, I needed to download any one package that provides this functionality. I couldn't just configure ports, firewall rules, NAT or whatever and be happy... Of the settings that this DoH package came with lets you choose a "bootstrap DNS". It was configured to Google's and Cloudflare's servers by default, but I changed it to Quad9's. Everything works fine. My VPN provider confirms that I am using their DNS servers and that my DNS traffic is encrypted.

    What is going on under the hood? What is this "bootstrap DNS"? Why isn't it as easy as exchanging public keys, as with regular traffic that goes through my VPN router's wireguard port?

    you need the bootstrap dns server to find the doh provider.

  • I have two routers. One of them encrypts everything with a wireguard interface and routes all traffic through my VPN provider. The other one is "plain", unencrypted, and it is used for services that need a public IP. If all these services need is a public IP address that leads to the router's wan port, I can still encrypt my DNS traffic, I thought, so I set up DNS over https (DoH), using my VPN provider's servers. To do this on OpenWRT, which is my router's operating system, I needed to download any one package that provides this functionality. I couldn't just configure ports, firewall rules, NAT or whatever and be happy... Of the settings that this DoH package came with lets you choose a "bootstrap DNS". It was configured to Google's and Cloudflare's servers by default, but I changed it to Quad9's. Everything works fine. My VPN provider confirms that I am using their DNS servers and that my DNS traffic is encrypted.

    What is going on under the hood? What is this "bootstrap DNS"? Why isn't it as easy as exchanging public keys, as with regular traffic that goes through my VPN router's wireguard port?

    Doh uses domain names for name servers as opposed to IP addresses, but as a freshly booted PC doesn't know what IP your doh provider uses how does it craft a packet with a destination IP?

    That is where your bootstrap DNS comes in. You do one clear text DNS request for your doh provider, then all other DNS requests are encrypted.

    The public keys are stored brween reboots so no new exchange is needed.

  • you need the bootstrap dns server to find the doh provider.

    I see. I just wonder why I couldn't set the IP address for my DNS provider in the router's configuration, since my VPN provider - whose DNS I'm using - provide the IP addresses and domain names on their website. 🤔

  • Doh uses domain names for name servers as opposed to IP addresses, but as a freshly booted PC doesn't know what IP your doh provider uses how does it craft a packet with a destination IP?

    That is where your bootstrap DNS comes in. You do one clear text DNS request for your doh provider, then all other DNS requests are encrypted.

    The public keys are stored brween reboots so no new exchange is needed.

    I guessed as much. But, as I wrote to the commenter, I wonder why I couldn't just provide the DNS server's IP address in the router's configuration and thus avoiding that initial plain text bootstrapping step. I guess my other question - why there needs to be a separate package to set this up as opposed to "simply" configuring the router - is more about the specific OS than networking.

    Thanks for sharing your insights! 😊

  • I guessed as much. But, as I wrote to the commenter, I wonder why I couldn't just provide the DNS server's IP address in the router's configuration and thus avoiding that initial plain text bootstrapping step. I guess my other question - why there needs to be a separate package to set this up as opposed to "simply" configuring the router - is more about the specific OS than networking.

    Thanks for sharing your insights! 😊

    There will generally be some form of load balancer in front of a HTTPS server even one that provides DoH services, and those load balancer won't know where to send the random https packet destined for it's own IP without a routing url.

  • There will generally be some form of load balancer in front of a HTTPS server even one that provides DoH services, and those load balancer won't know where to send the random https packet destined for it's own IP without a routing url.

    Right, but my VPN provider provides both IPs and URLs to their servers, so I'm still wondering why I need a separate package on OpenWRT to be running in the background for this, i.e, why I can't just point all the DNS queries that comes to the router in question to that IP and URL. Again, maybe it's a really OpenWRT specific question... Sorry 😅

  • Right, but my VPN provider provides both IPs and URLs to their servers, so I'm still wondering why I need a separate package on OpenWRT to be running in the background for this, i.e, why I can't just point all the DNS queries that comes to the router in question to that IP and URL. Again, maybe it's a really OpenWRT specific question... Sorry 😅

    The IPs could be DoT servers.


Önerilen Başlıklar

10

Çevrimiçi

8.8k

Kullanıcı

1.9k

Konu

3.7k

İleti