DNS Proxy & DNS Cache

DNS Proxy & DNS Cache

DNS Proxy & DNS Cache
DNS Proxy & DNS Cache
2024-01-08 10:54:47 - last edited 2024-01-08 10:56:02
Tags: #DNS
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.2.3

1. Does DNS Proxy support http/3 ? If not, can the support be added for faster queries ?

 

2. Can you add option of customizing DNS Cache size ? Current is 4MB Default and can't be changed.

 

3. Can you implement optimistic caching in DNS Cache ?

e.g. the client immediatelly receives response of cached entry (with short TTL like 10s), but in the background the router queries upstream DNS servers in case 'original' ttl has expired ?

 

I feel like DNS cache is great, but current implementation of overriding TTL is too harsh, it doesn't seem to be doing optimistic caching or re-trying to update entries in the background, just caching until specified TTL and thats it, quite useless tbh.

  1      
  1      
#1
Options
12 Reply
Re:DNS Proxy & DNS Cache
2024-01-09 01:45:17

Hi @pdu_ 

Thanks for posting in our business forum.

1. No. DoH and DoT only.

2. This is not gonna be the job of the controller. It is not a DNS server. If you'd like to have a large cache or custom cache size, you should consider building up an internal DNS server.

3. This also sounds like a DNS server setup.

Do you happen to know if this feature is available on other brands? Like Meraki, Mikrotek, or UBNT? Would be helpful for me to collect the feedback.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
  1  
  1  
#2
Options
Re:DNS Proxy & DNS Cache
2024-01-09 08:07:45 - last edited 2024-01-09 08:24:20

  @Clive_A "Do you happen to know if this feature is available on other brands? Like Meraki, Mikrotek, or UBNT? Would be helpful for me to collect the feedback."

 

I am not going to do the research regarding this, I just thought in general this should be pretty great to have such features.

You could be the first you know, no reason to be afraid to be leaders in featureset.

 

Then again, other providers do have internal DNS already, for resolving clients hostnames, while you don't. And since you already basically have DNS server there, why not populate it with clients as well.. e.g. if I have client named in omada as server, then why not serve server.lan or other custom domain from the cache as well.

Or allow us to add custom entries to the cache ourselves via API, but would be prefered if you would do this internally tbh..

  0  
  0  
#3
Options
Re:DNS Proxy & DNS Cache
2024-01-09 08:47:22

Hi @pdu_ 

Thanks for posting in our business forum.

pdu_ wrote

  @Clive_A "Do you happen to know if this feature is available on other brands? Like Meraki, Mikrotek, or UBNT? Would be helpful for me to collect the feedback."

 

I am not going to do the research regarding this, I just thought in general this should be pretty great to have such features.

You could be the first you know, no reason to be afraid to be leaders in featureset.

 

Then again, other providers do have internal DNS already, for resolving clients hostnames, while you don't. And since you already basically have DNS server there, why not populate it with clients as well.. e.g. if I have client named in omada as server, then why not serve server.lan or other custom domain from the cache as well.

Or allow us to add custom entries to the cache ourselves via API, but would be prefered if you would do this internally tbh..

Then you might wait for this feature in the future. Or if our contract user asks for this immediately.

I understand that you guys from the forum would also want the best/latest tech. I totally understand that but as for the PM or dev, they don't want to hurry in such features. Something else would be more important for the business environment. For the DNS, many of our users don't even know about this new protocol and what's it for.

 

This is not a DNS server like Adguard or pi-hole. Or any other form of DNS server. We are not gonna focus on a single feature.

Local DNS servers will be implemented in the future which I have explained in other related threads. We have API but if we don't open it up, then the team has its own concerns. We now have added more and more support to API but it is not instant to unlock everything.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
  1  
  1  
#4
Options
Re:DNS Proxy & DNS Cache
2024-01-10 10:39:24 - last edited 2024-01-10 11:54:23

  @Clive_A I understand that, but many home users as well as business users don't want to set up their own AGH or PiHole instances.

Some people prefer set and forget solutions, which AGH/PiHole are not, they require HW/SW management and maintenance.

 

Feature of DNS Proxy and DNS Cache is enough.

 

Also right now it seems the logic beind DNS Proxy is little bit weird, can you provide more insight how it works ?

Basically it seems it's not preferring the fastest DNS server but rather goes randomly ?

So the problem is that when one of the defined DNS servers is slow or erratic, all clients are affected as well.

 

 

EDIT: "Then you might wait for this feature in the future. Or if our contract user asks for this immediately."

 

Well, I understand that we as one time buyers are probably less important to you guys, compared to contract users, but we still paid for the network infrastructure you are selling so, sure, I can wait for the features but please make sure they are put on the roadmap at least:

 

- Parallel Upstream DNS request (so the client gets response ASAP, not being affected by erratic or slow DNS upstream)

- Allow more than 2 upstreams

- Optimistic caching (serve expired entries to the client with ttl 10sec while simultaneously updating entry in cache from upstream)

- DNS‑over‑HTTP/3 support, DNS‑over‑QUIC support (optional)

- Provide information about DNS servers used in predefined selections on DNS Proxy page (e.g. there is Quad9 mentioned but they have different options and user has no idea which is being used.)

- SAVE 'custom' dns servers which are provided (currently when you define custom DoH servers and then switch to DoT custom servers, DoH servers are deleted and you have to re-define them again)

 

These features would be tremendous.

 

Thank you so much for your work. 👍

  1  
  1  
#5
Options
Re:DNS Proxy & DNS Cache
2024-01-11 01:15:47

Hi @pdu_ 

Thanks for posting in our business forum.

pdu_ wrote

  @Clive_A I understand that, but many home users as well as business users don't want to set up their own AGH or PiHole instances.

Some people prefer set and forget solutions, which AGH/PiHole are not, they require HW/SW management and maintenance.

 

Feature of DNS Proxy and DNS Cache is enough.

 

Also right now it seems the logic beind DNS Proxy is little bit weird, can you provide more insight how it works ?

Basically it seems it's not preferring the fastest DNS server but rather goes randomly ?

So the problem is that when one of the defined DNS servers is slow or erratic, all clients are affected as well.

 

 

EDIT: "Then you might wait for this feature in the future. Or if our contract user asks for this immediately."

 

Well, I understand that we as one time buyers are probably less important to you guys, compared to contract users, but we still paid for the network infrastructure you are selling so, sure, I can wait for the features but please make sure they are put on the roadmap at least:

 

- Parallel Upstream DNS request (so the client gets response ASAP, not being affected by erratic or slow DNS upstream)

- Allow more than 2 upstreams

- Optimistic caching (serve expired entries to the client with ttl 10sec while simultaneously updating entry in cache from upstream)

- DNS‑over‑HTTP/3 support, DNS‑over‑QUIC support (optional)

- Provide information about DNS servers used in predefined selections on DNS Proxy page (e.g. there is Quad9 mentioned but they have different options and user has no idea which is being used.)

- SAVE 'custom' dns servers which are provided (currently when you define custom DoH servers and then switch to DoT custom servers, DoH servers are deleted and you have to re-define them again)

 

These features would be tremendous.

 

Thank you so much for your work. 👍

I cannot guarantee what you asked for is on the roadmap. To anyone, any requests, I cannot.

Second, I still need to research the market. If our competitors do not have these or from the industrial perspective, there is no one doing that, the chance is also small.

Third, from what you asked, which is basically what the AGH or Pi-hole do, so I checked what they require for hardware parts. OFC, both Linux-based.

 

 

ER8411 specs:

 

Hmm, I am a little concerned, TBH. This hardware requirement varies a lot. I cannot say definitely. dnsmasq is super lightweight but does not support what you asked for.

 

Fourth, brief search for the stuff you asked. https://en.m.wikipedia.org/wiki/Comparison_of_DNS_server_software QUIC does not seem to be universal.

The DNS server would come at the V5.15 controller. But I am not sure if they will include some of the features.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
  0  
  0  
#6
Options
Re:DNS Proxy & DNS Cache
2024-01-15 22:24:01 - last edited 2024-01-15 22:24:26

  @Clive_A can you at least implement custom DoT addresses (fqdn), instead of IP only?

 

 

 

  0  
  0  
#7
Options
Re:DNS Proxy & DNS Cache
2024-01-16 05:53:39 - last edited 2024-01-16 05:54:12

Hi @pdu_ 

pdu_ wrote

  @Clive_A can you at least implement custom DoT addresses (fqdn), instead of IP only?

 

 

 

Thanks for your valuable feedback and post here. This request has been forwarded to the developer team for further evaluation.

You can subscribe to the firmware release thread which is pinned on the related page. Or pay attention to our official website where most releases will show up there very soon.

As a reminder, any request will be evaluated by our developer team before it is officially added to the roadmap. That may take some time before you see a release with this feature. If your requested feature is not on high priority or not reported by many people, it may be delayed for more feedback.
(This is not a guarantee that your requested feature will be implemented. Only requests passed the evaluation can be added to the roadmap.)

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
  0  
  0  
#8
Options
Re:DNS Proxy & DNS Cache
2024-01-16 14:15:01 - last edited 2024-01-18 11:48:39

  @Clive_A as for the memory requirements etc.. pi-hole and adguard-home are on the heavy side because they work with block lists/filtering.

 

There is also something like this, like 5MB storage requirement only: Control-D-Inc/ctrld: A highly configurable, multi-protocol DNS forwarding proxy (github.com)

 

MIT License btw.. and it has better caching it seems, since it supports cache_serve_stale option according to this ctrld/docs/config.md at main · Control-D-Inc/ctrld (github.com)

 

And it has client discovery too.

 

But yeah this isn't universal tool as well I guess..

 

Anyway however since it supports OpenWRT (which you use on the ER605) then maybe you could allow us to enable this as a service instead of using unbound (current DNS proxy) ?

  0  
  0  
#9
Options
Re:DNS Proxy & DNS Cache
2024-01-17 20:44:51 - last edited 2024-01-18 09:21:14

@Clive_A And I think I possibly found a bug in dns proxy

 

When following is met:

1. Using ad blocking upstream where response for blocked domains is 0.0.0.0

2. Overwriting TTL to max value


the DNS cache saves this entry, response returns correct TTL but then after original TTL has expired (10s) the router queries upstream again, even though the entry is already in the cache. It doesn't respond from cache, instead waits for upstream response. 


this basically means the TTL override is useless for entries with 0.0.0.0 response. 

 

EDIT: This only happens when querying AAAA as well as A entries, A entry is cached and works properly, so this probably isn't issue of the cache, since it clearly only caches A (ipv4) entries but not AAAA (ipv6)

  0  
  0  
#10
Options
Re:DNS Proxy & DNS Cache
2024-01-18 11:22:44

@Clive_A Also it seems you guys stopped people from using debug mode with newest firmware updates, now the passwords generated previously via md5 dont work anymore.

 

Can you provide a guide on how to access debug mode now ? How to generate password or simply how to get to the system via ssh ?

 

Seems this is breaking it:

 

 

 

Previously we were able to generate root and CLI debug mode passwords, now they dont work.

  0  
  0  
#11
Options

Information

Helpful: 1

Views: 1269

Replies: 12

Tags

DNS
Related Articles