Bug 242752 - New port: dns/nextdns NextDNS DNS53 to DNS over HTTPS proxy
Summary: New port: dns/nextdns NextDNS DNS53 to DNS over HTTPS proxy
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Olivier Cochard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-21 00:33 UTC by Olivier Poitrey
Modified: 2020-01-18 01:25 UTC (History)
2 users (show)

See Also:


Attachments
nextdns port patch (6.46 KB, patch)
2019-12-21 00:33 UTC, Olivier Poitrey
no flags Details | Diff
Update upstream to v1.4.25 (6.46 KB, patch)
2020-01-18 00:55 UTC, Olivier Poitrey
no flags Details | Diff
Fix previous patch (missing GH_TAGNAME update) (6.46 KB, patch)
2020-01-18 00:58 UTC, Olivier Poitrey
no flags Details | Diff
nextdns port patch v1.4.25 (6.46 KB, patch)
2020-01-18 00:58 UTC, Olivier Poitrey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Poitrey 2019-12-21 00:33:22 UTC
Created attachment 210090 [details]
nextdns port patch

This port is the official DNS over HTTPS client for the NextDNS service. It works out the box and can easily be configured with any other DoH service.

The port does not install an rc script, the "nextdns install" command takes care of that. It's a bit unusual but makes future update of this port easier as all multi platform support is maintained upstream.

The optional "nextdns activate" disables resolvconf and rewrite+backup the /etc/resolv.conf. The "nextdns deactivate" reverts that. It's close to the local-unbound way, without the support for automatic forwarder configuration. The de/activate is also part of the binary, no script added to the port.

More info on https://github.com/nextdns/nextdns.

% portlint -A dns/nextdns/
looks fine.
Comment 1 Olivier Poitrey 2020-01-18 00:55:23 UTC
Created attachment 210831 [details]
Update upstream to v1.4.25
Comment 2 Olivier Poitrey 2020-01-18 00:58:09 UTC
Created attachment 210832 [details]
Fix previous patch (missing GH_TAGNAME update)
Comment 3 Olivier Poitrey 2020-01-18 00:58:47 UTC
Created attachment 210833 [details]
nextdns port patch v1.4.25
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-01-18 01:22:03 UTC
A commit references this bug:

Author: olivier
Date: Sat Jan 18 01:21:46 UTC 2020
New revision: 523387
URL: https://svnweb.freebsd.org/changeset/ports/523387

Log:
  New port: dns/nextdns

  NextDNS client:  DNS53 to DNS over HTTPS proxy

  WWW: https://github.com/nextdns/nextdns

  PR:		242752
  Submitted by:	Olivier Poitrey <rs@nextdns.io>

Changes:
  head/dns/Makefile
  head/dns/nextdns/
  head/dns/nextdns/Makefile
  head/dns/nextdns/distinfo
  head/dns/nextdns/files/
  head/dns/nextdns/files/pkg-message.in
  head/dns/nextdns/pkg-deinstall
  head/dns/nextdns/pkg-descr
Comment 5 Olivier Cochard freebsd_committer freebsd_triage 2020-01-18 01:25:45 UTC
Excellent quality port for a first one!
I just had to updated the distinfo file (make makesum) on your latest update.
Generating the RC script from the binary is an unusual concept but the pkg-deinstall take care of cleaning it, so seems legit.

Thanks for your contribution.