Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Allow local network names to be resolved (from /etc/hosts?) #783

Closed
tonyklawrence opened this issue May 30, 2019 · 8 comments

Comments

@tonyklawrence
Copy link

I currently have many devices configured on my local network and it would be great if AdGuard would be allow me to configure these hostname/ip mappings and resolve them so that I can use the hostnames in my browser rather than IPs.

It is possible to add these and mount them in /etc/hosts so that they are resolved in the AdGuard UI, but the DNS server does not honour these. Also, if they are added in the filters section then they resolve but appear as blocks domains.

Using Pi-hole I could either mount a separate dnsmasq config or override /etc/hosts.

I am also running this in docker on a Synology NAS using MACVLAN network driver.

@ameshkov ameshkov added the duplicate Duplicate or merged issues. label May 30, 2019
@ameshkov
Copy link
Member

Sounds like a duplicate of #727

This feature will be available in the upcoming update; hopefully, next week.

@ameshkov
Copy link
Member

Ah, my bad, I misread what you want.

Actually, you already can do it, just add these to your custom filtering rules.

@ameshkov
Copy link
Member

Also, if they are added in the filters section then they resolve but appear as blocks domains.

Okay, I shouldn't hurry that much :)

@ameshkov ameshkov reopened this May 30, 2019
@ameshkov ameshkov added feature request P3: Medium and removed duplicate Duplicate or merged issues. labels May 30, 2019
@ameshkov
Copy link
Member

Also, these two look relevant: #461 #390

@myobfee
Copy link

myobfee commented Jan 20, 2020

running 0.100.9 and local network name resolution doesn't appear to be working, am I correct in assuming this feature is not yet implemented? Have tried adding a client by IP as well to no avail.

@ameshkov
Copy link
Member

@myobfee no, it's not implemented yet. If you need it, please upvote this feature request, that's how we choose what to do first.

For now, I suggest you use DNS rewrites feature (settings -> DNS -> scroll down).

@myobfee
Copy link

myobfee commented Jan 21, 2020

@myobfee no, it's not implemented yet. If you need it, please upvote this feature request, that's how we choose what to do first.

For now, I suggest you use DNS rewrites feature (settings -> DNS -> scroll down).

ok, thanks. I'll mess with DNS rewrites but I don't think that will allow a hostname -> IP mapping without the full domain suffix. Feature request upvoted.

@ameshkov
Copy link
Member

Implemented in v0.103

@ameshkov ameshkov added this to the v0.103 milestone Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants