-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add the ability to resolve hostnames from /etc/hosts - like hosts files #1478
Comments
@marcov so would you like us to do all three?
|
There's no |
@szolin it seems you forgot about handling PTR |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using AGH on a home router, it would be really useful to resolve the hostnames of the devices in the LAN.
OpenWrt based routers automatically generate a hosts file in
/tmp/hosts/hosts.auto
/tmp/hosts/dhcp.cfg01411c
, using both static hostname provided by the user, and hostname gathered with DHCP requests.However a.t.m. hostnames in this file cannot be resolved by AGH, limiting users ability to interact with other devices in the network without using IP addresses.
Proposed Solution
Resolve hostname from a user-specified set of hosts files.
Alternatives Considered
Have a well-known set of hosts file paths hardcoded, or editable in the yaml config file.
The text was updated successfully, but these errors were encountered: