Skip to content

Correcly handle comments appended to nameserver declarations #14658

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

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

normanmaurer
Copy link
Member

Motivation:

We need to ensure we correctly filter out appended comments in resolv.conf

Modifications:

  • Skip comments
  • Add unit test

Result:

Fixes #14514

Motivation:

We need to ensure we correctly filter out appended comments in resolv.conf

Modifications:

- Skip comments
- Add unit test

Result:

Fixes #14514
@normanmaurer normanmaurer merged commit 1bd459a into 4.1 Jan 13, 2025
17 checks passed
@normanmaurer normanmaurer deleted the resolv_fix branch January 13, 2025 20:24
normanmaurer added a commit that referenced this pull request Jan 13, 2025
Motivation:

We need to ensure we correctly filter out appended comments in
resolv.conf

Modifications:

- Skip comments
- Add unit test

Result:

Fixes #14514

---------

Co-authored-by: Bryce Anderson <[email protected]>
normanmaurer added a commit that referenced this pull request Jan 13, 2025
…#14663)

Motivation:

We need to ensure we correctly filter out appended comments in
resolv.conf

Modifications:

- Skip comments
- Add unit test

Result:

Fixes #14514

Co-authored-by: Bryce Anderson <[email protected]>
normanmaurer added a commit that referenced this pull request Jan 13, 2025
…#14663)

Motivation:

We need to ensure we correctly filter out appended comments in
resolv.conf

Modifications:

- Skip comments
- Add unit test

Result:

Fixes #14514

Co-authored-by: Bryce Anderson <[email protected]>
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.

DefaultDnsServerAddressStreamProvider fails when /etc/resolv.conf contains inline comments on nameserver
2 participants