-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
SmartDNS: Doesn't take into account dhcp 'Hostnames' #20354
Comments
Would appear it doesn't read any |
I should post in the feature requests for SmartDNS repo and probably close this here? |
smartdns does not have the ability to read the hosts file, but it can resolve the local host name in the following two ways:
|
One would assume since it's so obvious that if they wanted it would already be that way. The smartdns docs suggest you can setup both dnsmasq and smartdns so that one includes the other, which would effectively restore the |
Not certain if this goes here, in the smart dns repo, or in the luci repo. It's kinda an issue of the package not shaking hands with luci...
Maintainer: @pymumu
Environment: OpenWrt 22.03.3, r20028-43d71ad93e
Description:
I have a 2 openwrt routers on the same network... one in a dumb ap configuration the other running smartdns. On the router running smart DNS I have a few hostnames conveniently added so I can ssh into a short hostname rather than a long ipv4 address:
When I use stock DNSmasq, the hostnames resolve and I can access the devices. When I turn on SmartDNS, it cannot resolve those names, instead returning:
DNS_PROBE_FINISHED_NXDOMAIN
I tried forcing it by using the domain addresses configuration:
address /example.com/1.2.3.4
Maybe i eff'ed this up?Thanks for developing this codebase in general!
The text was updated successfully, but these errors were encountered: