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
Recursor - Not loading IPv6 entries from etc-hosts-file. #2248
Comments
it looks... like the code just isn't there?! ;-) |
This was my guess without even looking at the code ;) |
Is there any work-around, to run a server that resolves domains according to /etc/hosts (or other simple text file in such format) including ipv6 entries? |
can't you use auth-zones setting? |
@cmouse it's a bit less compatible as you need to convert the /etc/hosts file, but yes it works, thanks |
Auth Zones is what I used as a work around. Example of the zone I use.
|
Thanks @mrjester888 A problem is that converting /etc/hosts to simple foo IN AAAA .... format is not enough, the reverse DNS is not working. This are actually cjdns domains, they are just single addresses (not /48 as usual, it's exactly one address). |
I just 'hit' this bug. I'm not entirely sure what the problem is. Do we want to just fix forwards, or also reverses? IMHO, this feature is for more temporary stuff, so I care less about the reverses. I do care about forward AAAA-records though. |
Whenever I think about this bug, my mind somehow turns it into 'AAAA works, just PTR does not, and that is okay'. So, just doing AAAA would be a major improvement :) |
The use case is simple. I need to inject a couple of RRs internally to a zone that I am hosting externally.
I created a new etc-hosts-file. Added two entries in standard format. One for v4, one for v6. Enabled the export and restarted. "host host.example.com" only returns the v4 address and "dig aaaa host.example.com" returns no v6 address.
Expected behavior is that the v6 address is returned on query as well.
The text was updated successfully, but these errors were encountered: