TechnitiumSoftware / DnsServer

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

Request to add edns support #166

Closed liang-hiwin closed 2 years ago

liang-hiwin commented 4 years ago

Request to add edns support

liang-hiwin commented 4 years ago

There is also the addition of domain name designation DNS resolution functions, such as specifying the domain name "google.com domain name uses dns.google for resolution", "youtuebe.com domain name uses 1.1.1.1 for resolution", of course, it is better to import the domain name list.

The format can refer to: [/google.com/]dns.google [/youtube.com/]1.1.1.1 [/domain.example/]1.1.1.1 [/google.com/youtube.com/baidu.com/domain.example/]9.9.9.9

ShreyasZare commented 4 years ago

There is also the addition of domain name designation DNS resolution functions, such as specifying the domain name "google.com domain name uses dns.google for resolution", "youtuebe.com domain name uses 1.1.1.1 for resolution", of course, it is better to import the domain name list.

The format can refer to: [/google.com/]dns.google [/youtube.com/]1.1.1.1 [/domain.example/]1.1.1.1 [/google.com/youtube.com/baidu.com/domain.example/]9.9.9.9

Are you referring to something like conditional forwarders? There is already conditional forwarder zone where you can create forwarder zone for "google.com" and then forward all requests for it to 8.8.8.8.

liang-hiwin commented 4 years ago

There is also the addition of domain name designation DNS resolution functions, such as specifying the domain name "google.com domain name uses dns.google for resolution", "youtuebe.com domain name uses 1.1.1.1 for resolution", of course, it is better to import the domain name list. The format can refer to: [/google.com/]dns.google [/youtube.com/]1.1.1.1 [/domain.example/]1.1.1.1 [/google.com/youtube.com/baidu.com/domain.example/]9.9.9.9

Are you referring to something like conditional forwarders? There is already conditional forwarder zone where you can create forwarder zone for "google.com" and then forward all requests for it to 8.8.8.8.

GTWH7 XT{1)R0~~0DSU80YM It doesn’t seem to support importing list files, it’s too much to fill in one by one

ShreyasZare commented 4 years ago

It doesn’t seem to support importing list files, it’s too much to fill in one by one

Yes, its ok to use if you have a few 10s of domain names. Wont be practical if you have too many of them to add. You can do a bit of scripting using curl with the DNS server API calls to do that though.

liang-hiwin commented 4 years ago

It doesn’t seem to support importing list files, it’s too much to fill in one by one

Yes, its ok to use if you have a few 10s of domain names. Wont be practical if you have too many of them to add. You can do a bit of scripting using curl with the DNS server API calls to do that though.

I need to add about thousands of domain names, because our country has carried out DNS pollution on these domain names. Can you help me achieve it? I don't know.

ShreyasZare commented 4 years ago

I need to add about thousands of domain names, because our country has carried out DNS pollution on these domain names. Can you help me achieve it? I don't know.

Will try to create a script and let you know in a few days.

liang-hiwin commented 4 years ago

I need to add about thousands of domain names, because our country has carried out DNS pollution on these domain names. Can you help me achieve it? I don't know.

Will try to create a script and let you know in a few days.

thank you very much

ShreyasZare commented 4 years ago

Just added API documentation to help with writing script to automate tasks.

liang-hiwin commented 3 years ago

Just added API documentation to help with writing script to automate tasks.

Thank you, is there any plan to increase edns support?

ShreyasZare commented 3 years ago

Just added API documentation to help with writing script to automate tasks.

Thank you, is there any plan to increase edns support?

EDNS is planned and will get implemented soon.

liang-hiwin commented 3 years ago

Just added API documentation to help with writing script to automate tasks.

Thank you, is there any plan to increase edns support?

EDNS is planned and will get implemented soon.

Very good, my private dns are currently edns, dnssec have been done, next will use your project to forward DNS, I don’t know how much QPS your project has.

ShreyasZare commented 3 years ago

Very good, my private dns are currently edns, dnssec have been done, next will use your project to forward DNS, I don’t know how much QPS your project has.

I have load tested the DNS server on i7 8700 CPU and could get around 100,000 QPS.

liang-hiwin commented 3 years ago

Very good, my private dns are currently edns, dnssec have been done, next will use your project to forward DNS, I don’t know how much QPS your project has.

I have load tested the DNS server on i7 8700 CPU and could get around 100,000 QPS.

Beautiful

liang-hiwin commented 3 years ago

@ShreyasZare Hello developer! What is the current schedule of EDNS and DNSSEC? How long will it take to complete?

ShreyasZare commented 3 years ago

There is no specific timeline for both of them since it totally depends on how much time I can manage for the development.

Still, EDNS wont take much time to implement but, DNSSEC will take longer to implement.

liang-hiwin commented 3 years ago

There is no specific timeline for both of them since it totally depends on how much time I can manage for the development.

Still, EDNS wont take much time to implement but, DNSSEC will take longer to implement.

Brothers worked hard, but I'm not good programming

liang-hiwin commented 3 years ago

There is no specific timeline for both of them since it totally depends on how much time I can manage for the development.

Still, EDNS wont take much time to implement but, DNSSEC will take longer to implement.

If dnssec takes too long, you can prioritize edns.

tango38317 commented 2 years ago

Hi @ShreyasZare , any update regarding EDNS implementation? br Chris

ShreyasZare commented 2 years ago

Hi @ShreyasZare , any update regarding EDNS implementation? br Chris

EDNS is implemented in develop branch and work for DNSSEC is in progress. Next update will have both EDNS and DNSSEC validation support.

tango38317 commented 2 years ago

Hi, maybe also a release date? br

ShreyasZare commented 2 years ago

Hi, maybe also a release date? br

Most probably in next month.

ShreyasZare commented 2 years ago

Technitium DNS Server v8 is now released which adds support for EDNS. Do check and let me know your feedback.