AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Consider default private upstream servers

Open EugeneOne1 opened this issue 4 years ago • 5 comments

The syntax of upstream servers allows using # within the domain-specific server to make AdGuard Home use the default one for specified domains. Currently, it requires at least a single non-domain-specific server to be presented.

I suppose we may skip this step of validation for "Private reverse DNS servers" and use the default ones if those are already determined automatically and all the entries are domain-specific. @ameshkov, what do you think?

EugeneOne1 avatar Feb 14 '22 14:02 EugeneOne1

Could you please provide some examples?

ameshkov avatar Feb 15 '22 09:02 ameshkov

@ameshkov, this is how it works for now: image

This is what I'm suggesting: image

These are supposed to be the same.

EugeneOne1 avatar Feb 15 '22 10:02 EugeneOne1

Makes sense

ameshkov avatar Feb 20 '22 14:02 ameshkov

Looks like something is broken even when non domain specific entry is provided: Screenshot 2024-10-18 at 6 16 33 PM

alexindigo avatar Oct 19 '24 01:10 alexindigo

Makes sense

@ameshkov

I am also looking for this feature, but with a different reason:

# I want to have my gateway's built-in DNS to handle domains like `routerlogin.net`
[/routerlogin.net/]#
[/asusrouter.com/]#
# In short, I want "Private Preserve Upstream Servers" also used to handle the above domains
# I don't want to hardcode gateway IP here, since gateway IP might change, according to how VLAN is configured

# I then have a default server for public reachable domains
tcp://unfiltered.adguard-dns.com

# I then have another custom server for handling specific domain
[/acme.corp/]udp://corp-private-dns:53

SukkaW avatar Oct 19 '24 16:10 SukkaW

@alexindigo Also realised I have the same issue for a long time. Actually bisected releases, and found that things broke in v0.107.46. I've rolled back to v0.107.45 and rDNS is working correctly again:

Image

In my case:

  • Using AGH DHCP
  • Interface IP address is 192.168.2.1 is the AGH
  • I want to point rDNS to AGH itself in order to resolve IP addresses in the logs and stats

I also tried the v0.108.0-b.62 and was disappointed to see the issue isn't resolved there. AGH is not very useful if you can't see hostname in logs/stats in order to understand what's happening on the network...

itsthejb avatar Feb 09 '25 16:02 itsthejb

@ameshkov we have bug report with bisect here, is it something you can help with? Sounds like quite crucial feature for different setups.

alexindigo avatar Feb 10 '25 04:02 alexindigo

Looks like something is broken even when non domain specific entry is provided: Screenshot 2024-10-18 at 6 16 33 PM

I've the same issue here. Also if I defined local_ptr_upstreams in yaml config

Gifford47 avatar Feb 11 '25 08:02 Gifford47

Does this deserve a separate issue to get more attention? Or adequate to keep it here?

itsthejb avatar Feb 11 '25 08:02 itsthejb

Does this deserve a separate issue to get more attention? Or adequate to keep it here?

This deserves a dedicated issue though. This issue is about a feature request.

SukkaW avatar Feb 11 '25 08:02 SukkaW

ok, I created an Issue here ...

Gifford47 avatar Feb 11 '25 10:02 Gifford47

ok, I created an Issue here ...

This seems to be a different than the feature request here?

stauffenberg2020 avatar Jun 29 '25 05:06 stauffenberg2020