openresolv
4 years agoAdd more blurb.
Roy Marples [Tue, 14 Mar 2017 22:13:39 +0000 (22:13 +0000)]
Add more blurb.

4 years agoAdd .gitignore.
Roy Marples [Tue, 14 Mar 2017 21:58:34 +0000 (21:58 +0000)]
Add .gitignore.

4 years agoSprinkle some markdown.
Roy Marples [Tue, 14 Mar 2017 21:57:09 +0000 (21:57 +0000)]
Sprinkle some markdown.

4 years agoRelease openresolv-3.9.0 openresolv-3.9.0
Roy Marples [Thu, 29 Dec 2016 21:55:44 +0000 (21:55 +0000)]
Release openresolv-3.9.0

4 years agoAdd the inclusive_interfaces option to resolvoconf.conf to ignore the
Roy Marples [Thu, 29 Dec 2016 21:51:22 +0000 (21:51 +0000)]
Add the inclusive_interfaces option to resolvoconf.conf to ignore the
exlusive marking for the listed interfaces.

4 years agoFix runit support, [b04ffa58a4].
Roy Marples [Tue, 29 Nov 2016 11:28:40 +0000 (11:28 +0000)]
Fix runit support, [b04ffa58a4].

4 years agoAllow public_interfaces config variable to override private interface markings.
Roy Marples [Tue, 29 Nov 2016 11:21:43 +0000 (11:21 +0000)]
Allow public_interfaces config variable to override private interface markings.

4 years agoRemove distinfo files before making them and keep distinfo in signed result.
Roy Marples [Sat, 5 Nov 2016 14:04:26 +0000 (14:04 +0000)]
Remove distinfo files before making them and keep distinfo in signed result.

4 years agoAdd the distinfo target, from dhcpcd.
Roy Marples [Fri, 4 Nov 2016 15:45:19 +0000 (15:45 +0000)]
Add the distinfo target, from dhcpcd.

5 years agoAppend a newline when restoring resolv.conf.
Roy Marples [Tue, 13 Sep 2016 15:11:09 +0000 (15:11 +0000)]
Append a newline when restoring resolv.conf.
Thanks to Mike Gilbert.

5 years agopdns_recursor needs the same restart command treatment.
Roy Marples [Mon, 1 Aug 2016 19:24:57 +0000 (19:24 +0000)]
pdns_recursor needs the same restart command treatment.
Thanks to Guy Yur.

5 years agoAdd the --version command and document it.
Roy Marples [Fri, 8 Jul 2016 20:08:20 +0000 (20:08 +0000)]
Add the --version command and document it.
Fixes [85e873671a].

5 years agoRelease openresolv-3.8.1 openresolv-3.8.1
Roy Marples [Thu, 19 May 2016 10:36:35 +0000 (10:36 +0000)]
Release openresolv-3.8.1

5 years agoDrop needless ;
Roy Marples [Thu, 19 May 2016 10:35:35 +0000 (10:35 +0000)]
Drop needless ;

5 years agoRevert prior.
Roy Marples [Thu, 19 May 2016 09:32:36 +0000 (09:32 +0000)]
Revert prior.

5 years agoFix private_interfaces globbing
Roy Marples [Thu, 19 May 2016 09:29:59 +0000 (09:29 +0000)]
Fix private_interfaces globbing

5 years agoFix systemd control, [f18f46ab5a].
Roy Marples [Fri, 13 May 2016 10:44:24 +0000 (10:44 +0000)]
Fix systemd control, [f18f46ab5a].

5 years agoSpelling corrections, thanks to Pedro.
Roy Marples [Sat, 7 May 2016 01:52:52 +0000 (01:52 +0000)]
Spelling corrections, thanks to Pedro.

5 years agoMan page updates from Thomas Klausner.
Roy Marples [Thu, 28 Apr 2016 14:43:33 +0000 (14:43 +0000)]
Man page updates from Thomas Klausner.

5 years agoFor FreeBSD, the status argument needs to be onestatus. openresolv-3.8.0
Roy Marples [Sat, 12 Mar 2016 08:32:49 +0000 (08:32 +0000)]
For FreeBSD, the status argument needs to be onestatus.

5 years agoMove the version from Makefile to resolvconf.in
Roy Marples [Fri, 11 Mar 2016 20:00:44 +0000 (20:00 +0000)]
Move the version from Makefile to resolvconf.in

5 years agoRemove debug
Roy Marples [Fri, 26 Feb 2016 15:55:21 +0000 (15:55 +0000)]
Remove debug

5 years agoNote that named does not work with openresolv for SIGHUP.
Roy Marples [Thu, 25 Feb 2016 21:09:19 +0000 (21:09 +0000)]
Note that named does not work with openresolv for SIGHUP.

5 years agoRevert [606cfc2003] as the parsing code relies on the trailing newline.
Roy Marples [Thu, 25 Feb 2016 20:55:43 +0000 (20:55 +0000)]
Revert [606cfc2003] as the parsing code relies on the trailing newline.

5 years agoSplit each domain again after striping any trailing dot.
Roy Marples [Thu, 25 Feb 2016 20:08:52 +0000 (20:08 +0000)]
Split each domain again after striping any trailing dot.
Fixes [1e6ac67eb3].

5 years agoUpdate copyrights
Roy Marples [Wed, 24 Feb 2016 20:21:28 +0000 (20:21 +0000)]
Update copyrights

5 years agoNote why we may need to restart dnsmasq.
Roy Marples [Wed, 24 Feb 2016 20:21:18 +0000 (20:21 +0000)]
Note why we may need to restart dnsmasq.

5 years agoNote why we restart a service
Roy Marples [Wed, 24 Feb 2016 20:20:50 +0000 (20:20 +0000)]
Note why we restart a service

5 years agoDon't echo a trailing newline when listing resolv.conf contents.
Roy Marples [Wed, 24 Feb 2016 20:17:28 +0000 (20:17 +0000)]
Don't echo a trailing newline when listing resolv.conf contents.

5 years agoFix restarting services on OpenBSD.
Roy Marples [Wed, 24 Feb 2016 17:16:46 +0000 (17:16 +0000)]
Fix restarting services on OpenBSD.

5 years agoOnly pass RESTARTCMD and RCDIR from configure and not source environment.
Roy Marples [Tue, 23 Feb 2016 21:23:58 +0000 (21:23 +0000)]
Only pass RESTARTCMD and RCDIR from configure and not source environment.

5 years agoImprove wording.
Roy Marples [Tue, 23 Feb 2016 21:20:47 +0000 (21:20 +0000)]
Improve wording.

5 years agoMove init system detection from configure to resolvconf.
Roy Marples [Tue, 23 Feb 2016 21:18:17 +0000 (21:18 +0000)]
Move init system detection from configure to resolvconf.
resolvconf -r service can now restart a service, resolvconf -R will show how.

This allows a user to have OpenRC and/or SystemD alongside their base init
system and resolvconf will pick the one that is actually in use.
This, of course, can be overriden per subscriber.

5 years agosystemctl (part of systemd) is noisy and returns non zero for non existant
Roy Marples [Tue, 23 Feb 2016 10:10:07 +0000 (10:10 +0000)]
systemctl (part of systemd) is noisy and returns non zero for non existant
services with the try-restart command.
As such, we need to test for the service being active before restarting it.
Fixes [d1049584dc].

5 years agoRelease openresolv-3.7.3 openresolv-3.7.3
Roy Marples [Mon, 22 Feb 2016 09:57:22 +0000 (09:57 +0000)]
Release openresolv-3.7.3

5 years agoImprove the wording for quoting variables and point to an example of quoting
Roy Marples [Sun, 21 Feb 2016 11:50:07 +0000 (11:50 +0000)]
Improve the wording for quoting variables and point to an example of quoting
used within this man page.
Fixes [af3df51a80].

5 years agoStrip trailing dot from search and domain names, fixes [2b60f8c312].
Roy Marples [Sat, 20 Feb 2016 10:34:57 +0000 (10:34 +0000)]
Strip trailing dot from search and domain names, fixes [2b60f8c312].

5 years agoSave the initial working directory and change to it just before running
Roy Marples [Fri, 22 Jan 2016 10:30:21 +0000 (10:30 +0000)]
Save the initial working directory and change to it just before running
any scripts.
This avoids scripts putting files accidently where they shouldn't.

5 years agoRelease openresolv-3.7.2 openresolv-3.7.2
Roy Marples [Thu, 29 Oct 2015 14:20:21 +0000 (14:20 +0000)]
Release openresolv-3.7.2

5 years agoRemove TMPDIR as it's now unused and seems to cause problems in other
Roy Marples [Thu, 29 Oct 2015 10:04:25 +0000 (10:04 +0000)]
Remove TMPDIR as it's now unused and seems to cause problems in other
applications if non-existant.
Fixes [1fa2b79b6d], thaks to Sem.

6 years agoRelease openresolv-3.7.1 openresolv-3.7.1
Roy Marples [Tue, 29 Sep 2015 08:42:48 +0000 (08:42 +0000)]
Release openresolv-3.7.1

6 years agoClarify that private_interfaces="*" will not forward the root zone.
Roy Marples [Sat, 26 Sep 2015 12:13:55 +0000 (12:13 +0000)]
Clarify that private_interfaces="*" will not forward the root zone.
Fixes [32b100fdb6].

6 years agodomain-insecure should appear in a server clause.
Roy Marples [Sat, 26 Sep 2015 11:47:47 +0000 (11:47 +0000)]
domain-insecure should appear in a server clause.
Fixes [5d2e2c0e3b] thanks to Anonymous.

6 years agoChange from bzip2 to xz for builiding the source tarball.
Roy Marples [Tue, 19 May 2015 09:03:04 +0000 (09:03 +0000)]
Change from bzip2 to xz for builiding the source tarball.

6 years agoBump date for prior.
Roy Marples [Thu, 14 May 2015 19:40:03 +0000 (19:40 +0000)]
Bump date for prior.

6 years agoTypo's, thanks to Herbert Parentes Fortes Neto <hpfn@ig.com.br>.
Roy Marples [Thu, 14 May 2015 19:36:22 +0000 (19:36 +0000)]
Typo's, thanks to Herbert Parentes Fortes Neto <hpfn@ig.com.br>.

6 years agoFix year
Roy Marples [Fri, 1 May 2015 18:23:40 +0000 (18:23 +0000)]
Fix year

6 years agoFix import
Roy Marples [Fri, 1 May 2015 18:18:12 +0000 (18:18 +0000)]
Fix import

6 years agoRelease openresolv-3.7.0 openresolv-3.7.0
Roy Marples [Fri, 1 May 2015 18:11:09 +0000 (18:11 +0000)]
Release openresolv-3.7.0

6 years agoFix bash again.
Roy Marples [Tue, 28 Apr 2015 14:52:00 +0000 (14:52 +0000)]
Fix bash again.

6 years agoFix prior for bash.
Roy Marples [Tue, 28 Apr 2015 08:46:38 +0000 (08:46 +0000)]
Fix prior for bash.

6 years agoObtain a spinlock earlier due to exclusivity.
Roy Marples [Tue, 28 Apr 2015 08:21:46 +0000 (08:21 +0000)]
Obtain a spinlock earlier due to exclusivity.

6 years ago-x marks the resolv.conf as exclusive.
Roy Marples [Mon, 27 Apr 2015 12:06:27 +0000 (12:06 +0000)]
-x marks the resolv.conf as exclusive.
Only the latest exclusive resolv.conf will be processed.
Fixes [e1e6078045].

6 years agoTypo
Roy Marples [Fri, 20 Mar 2015 09:46:51 +0000 (09:46 +0000)]
Typo

6 years agoRelease openresolv-3.6.2 openresolv-3.6.2
Roy Marples [Thu, 12 Mar 2015 21:20:59 +0000 (21:20 +0000)]
Release openresolv-3.6.2

6 years agoImprove Makefile to build a tarball from fossil, to include the pdns_recursor
Roy Marples [Thu, 12 Mar 2015 19:42:49 +0000 (19:42 +0000)]
Improve Makefile to build a tarball from fossil, to include the pdns_recursor
helper.
Fixes [aa084ee000].

6 years agoInsist that our stored resolv.conf files are regular files.
Roy Marples [Tue, 10 Mar 2015 12:03:50 +0000 (12:03 +0000)]
Insist that our stored resolv.conf files are regular files.

6 years agoRecommend the use of a .protocol tag agasint the interface name in the man page.
Roy Marples [Tue, 10 Mar 2015 10:56:50 +0000 (10:56 +0000)]
Recommend the use of a .protocol tag agasint the interface name in the man page.

6 years agoSupport runit, fixes [4bfe134d80].
Roy Marples [Fri, 6 Mar 2015 09:55:12 +0000 (09:55 +0000)]
Support runit, fixes [4bfe134d80].

6 years agoRelease openresolv-3.6.1 openresolv-3.6.1
Roy Marples [Tue, 28 Oct 2014 22:02:56 +0000 (22:02 +0000)]
Release openresolv-3.6.1

6 years agoImplement replace and replace_sub to allow for keyword/value/replacement
Roy Marples [Tue, 28 Oct 2014 21:54:58 +0000 (21:54 +0000)]
Implement replace and replace_sub to allow for keyword/value/replacement

6 years agoDocument prepend_search and prepend_nameservers.
Roy Marples [Tue, 28 Oct 2014 21:47:56 +0000 (21:47 +0000)]
Document prepend_search and prepend_nameservers.
Implement append_search and append_nameservers.

6 years agoSpelling
Roy Marples [Tue, 28 Oct 2014 20:25:57 +0000 (20:25 +0000)]
Spelling

7 years agoDate it
Roy Marples [Sat, 25 Oct 2014 00:32:03 +0000 (00:32 +0000)]
Date it

7 years agoBackup resolv.conf if it doesn't have our signature.
Roy Marples [Sat, 25 Oct 2014 00:29:57 +0000 (00:29 +0000)]
Backup resolv.conf if it doesn't have our signature.
Restore it when our new config only has our signature.

7 years agoDon't update when deleting nothing.
Roy Marples [Fri, 24 Oct 2014 20:54:58 +0000 (20:54 +0000)]
Don't update when deleting nothing.

7 years agoRelease openresolv-3.6.0 openresolv-3.6.0
Roy Marples [Mon, 20 Oct 2014 08:41:01 +0000 (08:41 +0000)]
Release openresolv-3.6.0

7 years agoMake resolvconf_passthrough NULL work a bit better.
Roy Marples [Mon, 20 Oct 2014 08:35:22 +0000 (08:35 +0000)]
Make resolvconf_passthrough NULL work a bit better.

7 years agoDon't wait around trying to create a lock if we don't have permission.
Roy Marples [Mon, 20 Oct 2014 08:34:04 +0000 (08:34 +0000)]
Don't wait around trying to create a lock if we don't have permission.

7 years ago-V is the same as -v but only echo's information set in resolvconf.conf
Roy Marples [Mon, 20 Oct 2014 00:02:15 +0000 (00:02 +0000)]
-V is the same as -v but only echo's information set in resolvconf.conf
(ie, discards dynamically learned interfaces)
resolv_conf_passthrough can now be set to /dev/null or NULL which
will now use the -V option instead of the -v option to resolvconf.

7 years agoAllow unsetting of vars
Roy Marples [Sun, 19 Oct 2014 23:31:23 +0000 (23:31 +0000)]
Allow unsetting of vars

7 years agoAllow the disabling of resolvconf or optionally an individual subscriber.
Roy Marples [Sun, 19 Oct 2014 21:34:32 +0000 (21:34 +0000)]
Allow the disabling of resolvconf or optionally an individual subscriber.

7 years agolocal_nameservers now defaults to 127.* 0.0.0.0 255.255.255.255 ::1
Roy Marples [Sun, 19 Oct 2014 20:19:00 +0000 (20:19 +0000)]
local_nameservers now defaults to 127.* 0.0.0.0 255.255.255.255 ::1
and is used instead of a hard coded list.

7 years agoUpdate copyright
Roy Marples [Thu, 16 Oct 2014 10:41:04 +0000 (10:41 +0000)]
Update copyright

7 years agoUse yes rather than random text.
Roy Marples [Thu, 16 Oct 2014 10:21:50 +0000 (10:21 +0000)]
Use yes rather than random text.

7 years agounbound_insecure can disable DNSSEC for all domains processed.
Roy Marples [Thu, 16 Oct 2014 10:18:12 +0000 (10:18 +0000)]
unbound_insecure can disable DNSSEC for all domains processed.
Fixes [dcbe3f5cf1].

7 years agoImprove documentation to mention correct quoting and escaping.
Roy Marples [Thu, 16 Oct 2014 10:03:14 +0000 (10:03 +0000)]
Improve documentation to mention correct quoting and escaping.

7 years agoEnsure that name_server_blacklist works for more than one option.
Roy Marples [Fri, 9 May 2014 09:10:59 +0000 (09:10 +0000)]
Ensure that name_server_blacklist works for more than one option.
Thanks to Frederic Barthelery.

7 years agoDon't moan if dnsmasq has not written a pidfile.
Roy Marples [Mon, 5 May 2014 22:18:15 +0000 (22:18 +0000)]
Don't moan if dnsmasq has not written a pidfile.

7 years agoAdd new install targets
Roy Marples [Mon, 5 May 2014 22:17:46 +0000 (22:17 +0000)]
Add new install targets

7 years agoImport newest os detection from dhcpcd openresolv-3.5.7
Roy Marples [Wed, 30 Apr 2014 08:58:55 +0000 (08:58 +0000)]
Import newest os detection from dhcpcd

7 years agoRelease openresolv-3.5.7
Roy Marples [Wed, 30 Apr 2014 08:54:40 +0000 (08:54 +0000)]
Release openresolv-3.5.7

7 years agoClose .Bl with an .El
Roy Marples [Wed, 30 Apr 2014 08:53:03 +0000 (08:53 +0000)]
Close .Bl with an .El

7 years agoSupport gmake-3 and gmake-4
Roy Marples [Wed, 23 Apr 2014 16:32:29 +0000 (16:32 +0000)]
Support gmake-3 and gmake-4

7 years agoMove important name and version to the top.
Roy Marples [Wed, 23 Apr 2014 14:24:20 +0000 (14:24 +0000)]
Move important name and version to the top.

7 years agoAdd config-null.mk and a nasty hack to include config.mk instead if it exists.
Roy Marples [Wed, 23 Apr 2014 14:21:15 +0000 (14:21 +0000)]
Add config-null.mk and a nasty hack to include config.mk instead if it exists.
This allows make clean to work without configure being run.
Default settings to NetBSD.

7 years ago[d6cddf7bc4] Correct grammar.
Roy Marples [Thu, 17 Apr 2014 09:24:02 +0000 (09:24 +0000)]
[d6cddf7bc4] Correct grammar.

7 years agoAlthough the addition, removal or updating of an interface resolv.conf
Roy Marples [Thu, 9 Jan 2014 13:03:08 +0000 (13:03 +0000)]
Although the addition, removal or updating of an interface resolv.conf
is an atmoic operation (because we use mv(1)) our subscribers are not
guaranteed to be either atomic, nor serialised when restarting them.
As such, introduce locking via mkdir(1) to enforce serialisation.

7 years agoWarn about each interface we fail to delete instead of bailing at the first.
Roy Marples [Thu, 9 Jan 2014 09:54:38 +0000 (09:54 +0000)]
Warn about each interface we fail to delete instead of bailing at the first.
If the whole interface deletion action didn't change anything then exit
with an error unless forced.

7 years agoEnsure that creating interface resolv.conf files is an atomic operation.
Roy Marples [Thu, 9 Jan 2014 00:18:39 +0000 (00:18 +0000)]
Ensure that creating interface resolv.conf files is an atomic operation.

7 years agoRemove .gitignore
Roy Marples [Wed, 8 Jan 2014 20:25:03 +0000 (20:25 +0000)]
Remove .gitignore

8 years agoUse Mt for email address.
Roy Marples [Tue, 23 Jul 2013 16:49:33 +0000 (16:49 +0000)]
Use Mt for email address.
Thanks to Thomas Klausner.

8 years agoRelease openresolv-3.5.6 openresolv-3.5.6
Roy Marples [Fri, 12 Jul 2013 16:41:38 +0000 (16:41 +0000)]
Release openresolv-3.5.6

8 years agoname_servers[_append] and search_domains[_append] now apply
Roy Marples [Fri, 12 Jul 2013 12:59:56 +0000 (12:59 +0000)]
name_servers[_append] and search_domains[_append] now apply
to all subscribers instead of just libc.

8 years agoAllows putting resolvconf into /usr/bin.
Roy Marples [Tue, 4 Jun 2013 12:05:31 +0000 (12:05 +0000)]
Allows putting resolvconf into /usr/bin.
Thanks to Jan Alexander Steffens.

8 years agoRelease openresolv-3.5.5 openresolv-3.5.5
Roy Marples [Tue, 4 Jun 2013 09:25:57 +0000 (09:25 +0000)]
Release openresolv-3.5.5

8 years agoFix newline generation, #26
Roy Marples [Mon, 3 Jun 2013 13:19:24 +0000 (13:19 +0000)]
Fix newline generation, #26

8 years agoDisregard dhcpcd setting interface_order
Roy Marples [Thu, 16 May 2013 19:18:32 +0000 (19:18 +0000)]
Disregard dhcpcd setting interface_order

8 years agoCorrect resolv_conf_local_only description.
Roy Marples [Sat, 27 Apr 2013 09:38:01 +0000 (09:38 +0000)]
Correct resolv_conf_local_only description.
Fixes #24 thanks to Jouke

8 years agoRelease openresolv-3.5.4 openresolv-3.5.4
Roy Marples [Fri, 4 Jan 2013 10:04:21 +0000 (10:04 +0000)]
Release openresolv-3.5.4