Skip to content

feat(network): include DNS servers in network info#979

Open
karlitschek wants to merge 1 commit intomasterfrom
split/02-network-dns-servers
Open

feat(network): include DNS servers in network info#979
karlitschek wants to merge 1 commit intomasterfrom
split/02-network-dns-servers

Conversation

@karlitschek
Copy link
Copy Markdown
Member

Reads nameserver entries from /etc/resolv.conf (no shell, no sudo) and exposes them as a comma-separated string in getNetworkInfo()['dns']. Comments and empty lines are ignored; duplicate servers are deduped.

Reads nameserver entries from /etc/resolv.conf (no shell, no sudo)
and exposes them as a comma-separated string in getNetworkInfo()['dns'].
Comments and empty lines are ignored; duplicate servers are deduped.

Signed-off-by: Frank Karlitschek <frank@nextcloud.com>
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

Successfully merging this pull request may close these issues.

1 participant