OpenBSD: bring back their dns-updown to upstream

Open
#1,135 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
networking

Research direction

Compare the package’s dns-updown and dns-updown.resolvd scripts with the upstream version, then check which OpenBSD versions support route nameserver $interface. The issue asks you to explain the differences and their reasons, then choose a sensible upstream approach; done means the findings and resulting change account for the supported OpenBSD versions.

Written by the indexing model from the issue text.

Description

DNS OpenBSD

The OpenBSD package for OpenVPN 2.7.8 ships

-rwxr-xr-x  1 root  bin  2698 Oct  9 06:10 dns-updown
-rwxr-xr-x  1 root  bin  2414 Oct  9 06:10 dns-updown.resolvd

the first is "ours", the second a customized version that makes uses of a new feature, route nameserver $interface

...
    /sbin/route nameserver "${dev}" ${nameservers}
    ;;
dns-down)
    /sbin/route nameserver "${dev}"
    ;;
esac

... and there are more changes in a direct diff. So "understand what is changed and why, which OpenBSD versions support that route nameserver thing, and do something sensible with the result"

Dominant language
C
Stars
14.8k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenVPN/openvpn

All issues in OpenVPN/openvpn

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.