Skip to content

dns_resolvers table does not include IPv6 nameservers. #8562

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

Open
echarlie opened this issue Mar 5, 2025 · 0 comments
Open

dns_resolvers table does not include IPv6 nameservers. #8562

echarlie opened this issue Mar 5, 2025 · 0 comments

Comments

@echarlie
Copy link

echarlie commented Mar 5, 2025

Bug report

What operating system and version are you using?

OS: debian 12 bookworm

What version of osquery are you using?

osquery 5.16.0
using SQLite 3.42.0

What steps did you take to reproduce the issue?

osquery> select address,netmask from dns_resolvers where type = 'nameserver';
+---------+---------+
| address | netmask |
+---------+---------+
|         | 32      |
|         | 32      |
+---------+---------+

What did you expect to see?

$ cat /etc/resolv.conf
nameserver 2001:DB8::1:2:1:2
nameserver 2001:DB8::1:2:2:2

I would expect these to appear as the resolver addresses.

(obviously, these are documentation addresses)

What did you see instead?

Both nameservers are listed as empty strings, with a /32 netmask. I haven't dug into the code too much, but it looks like the netmask is hard-coded in

. I suspect part of the problem is the glibc resolv.h (as opposed to using resolv_conf.h) but I won't say I'm certain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy