TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.47k stars 431 forks source link

Set Technitium DNS Server as my DNS cache #152

Closed liang-hiwin closed 4 years ago

liang-hiwin commented 4 years ago

How to configure Technitium DNS Server as my DNS cache? Can the support for EDNS be added at the same time?

ShreyasZare commented 4 years ago

Thanks for the post. Can you describe the scenario where you want it to be used as a DNS cache?

EDNS support is planned and will try to get it added in coming releases.

liang-hiwin commented 4 years ago

Thanks for the post. Can you describe the scenario where you want it to be used as a DNS cache?

EDNS support is planned and will try to get it added in coming releases.

Forward DNS requests through Forwarders, and then Forwarders of Technitium DNS Server fill in the corresponding running ports of Forwarders, so that all traffic goes through the encrypted channel. Technitium DNS Server is here to serve the purpose of caching and blocking advertisements.

For example, the IP and port that dnsproxy runs are: 127.0.0.1:5300, so I fill in 127.0.0.1:5300 in the Forwarders of Technitium DNS Server, and choose tcp and udp as the protocol

https://github.com/AdguardTeam/dnsproxy

ShreyasZare commented 4 years ago

Yes you can chain multiple DNS servers or proxies using forwarders.

ShreyasZare commented 4 years ago

You just need to point Technitium DNS Server to your dnsproxy using the forwarder settings. Use UDP protocol as it will be much more efficient.

liang-hiwin commented 4 years ago

You just need to point Technitium DNS Server to your dnsproxy using the forwarder settings. Use UDP protocol as it will be much more efficient.

Technitium DNS Server My recursive resolution here is too slow so I can only use third-party DNS resolution

liang-hiwin commented 4 years ago

You just need to point Technitium DNS Server to your dnsproxy using the forwarder settings. Use UDP protocol as it will be much more efficient.

1 2

liang-hiwin commented 4 years ago

bug?

a s d

liang-hiwin commented 4 years ago

The DNS forwarder writes 127.0.0.1:5300, but by selecting "This Server (this-server)", why can't it resolve?

ShreyasZare commented 4 years ago

The DNS forwarder writes 127.0.0.1:5300, but by selecting "This Server (this-server)", why can't it resolve?

This is a bug that I have fixed already and will be available in next update.

This new update added the feature to specify local end point with a different port, the "This Server" part in the DNS Client was not taking the port and was using port 53 by default. For now, you need to enter the local end point address i.e. "127.0.0.1:5354" in the DNS Client to query "This Server".

liang-hiwin commented 4 years ago

The DNS forwarder writes 127.0.0.1:5300, but by selecting "This Server (this-server)", why can't it resolve?

This is a bug that I have fixed already and will be available in next update.

This new update added the feature to specify local end point with a different port, the "This Server" part in the DNS Client was not taking the port and was using port 53 by default. For now, you need to enter the local end point address i.e. "127.0.0.1:5354" in the DNS Client to query "This Server".

thanks