openresolv
11 years agoAllow expansion of private_interfaces
Roy Marples [Thu, 3 Dec 2009 16:10:24 +0000 (16:10 +0000)]
Allow expansion of private_interfaces

11 years agoExport 'resolvconf -v' variables for executeble subscribers.
Roy Marples [Thu, 3 Dec 2009 14:49:54 +0000 (14:49 +0000)]
Export 'resolvconf -v' variables for executeble subscribers.

11 years agoInstall subscribers without the execute bit.
Roy Marples [Thu, 3 Dec 2009 14:36:12 +0000 (14:36 +0000)]
Install subscribers without the execute bit.
If a subscriber has the execute then it is executed, otherwise it
is sourced into a subshell for speed.
This allows subcribers to be written in other languages.

11 years agoFix distfile openresolv-3.3.3
Roy Marples [Sat, 21 Nov 2009 02:23:50 +0000 (02:23 +0000)]
Fix distfile

11 years agoRelease 3.3.3
Roy Marples [Sat, 21 Nov 2009 02:10:44 +0000 (02:10 +0000)]
Release 3.3.3

11 years agoImprove subscriber documentation.
Roy Marples [Fri, 20 Nov 2009 23:50:01 +0000 (23:50 +0000)]
Improve subscriber documentation.

11 years agoIgnore unbound
Roy Marples [Fri, 20 Nov 2009 23:49:59 +0000 (23:49 +0000)]
Ignore unbound

11 years agoUse resolv.conf.head and tail files if present.
Roy Marples [Fri, 20 Nov 2009 20:23:48 +0000 (20:23 +0000)]
Use resolv.conf.head and tail files if present.

11 years agoAdd import target
Roy Marples [Fri, 20 Nov 2009 10:51:13 +0000 (10:51 +0000)]
Add import target

11 years agoAdd a README
Roy Marples [Fri, 20 Nov 2009 10:51:10 +0000 (10:51 +0000)]
Add a README

11 years agoDocument that resolvconf.conf is a shell script.
Roy Marples [Sun, 15 Nov 2009 22:30:39 +0000 (22:30 +0000)]
Document that resolvconf.conf is a shell script.

11 years agoAdd support for the unbound nameserver - http://www.unbound.net/
Roy Marples [Sun, 15 Nov 2009 20:20:56 +0000 (20:20 +0000)]
Add support for the unbound nameserver - unbound.net/

11 years agoDocument what the subscriber files are used for.
Roy Marples [Thu, 12 Nov 2009 19:47:04 +0000 (19:47 +0000)]
Document what the subscriber files are used for.

11 years agoAllow state_dir to override the compiled VARDIR variable.
Roy Marples [Thu, 12 Nov 2009 14:38:07 +0000 (14:38 +0000)]
Allow state_dir to override the compiled VARDIR variable.
This allows state_dir to be set to a ram disk outside of /var/run
which allows resolvconf to work before /var/run is mounted rw.

resolvconf now sports the -I option to initalise VARDIR if the
system boot scripts do not, for example when state_dir to physical
media but outside of /var/run.

11 years agoDocument resolv_conf_options.
Roy Marples [Sun, 25 Oct 2009 13:09:09 +0000 (13:09 +0000)]
Document resolv_conf_options.
Fixes #5.

12 years agoRelease openresolv-3.3.2 openresolv-3.3.2
Roy Marples [Fri, 1 May 2009 18:19:47 +0000 (18:19 +0000)]
Release openresolv-3.3.2

12 years agoWe need to ensure the service exists for rc-sevice and service commands.
Roy Marples [Fri, 1 May 2009 15:13:25 +0000 (15:13 +0000)]
We need to ensure the service exists for rc-sevice and service commands.
Fixes #4 thanks to whiplash@pobox.com

12 years agoAdd (c) to Copyright
Roy Marples [Fri, 1 May 2009 14:16:04 +0000 (14:16 +0000)]
Add (c) to Copyright

12 years agoDon't package the .gitignore file openresolv-3.3.1
Roy Marples [Thu, 30 Apr 2009 16:17:13 +0000 (16:17 +0000)]
Don't package the .gitignore file

12 years agoRelease openresolv-3.3.1
Roy Marples [Thu, 30 Apr 2009 16:14:20 +0000 (16:14 +0000)]
Release openresolv-3.3.1

12 years agoFix dnsmasq finding the right pidfile.
Roy Marples [Thu, 30 Apr 2009 14:59:58 +0000 (14:59 +0000)]
Fix dnsmasq finding the right pidfile.
Thanks to Jim Ramsay.

12 years agoGo back to using git
Roy Marples [Thu, 30 Apr 2009 13:36:52 +0000 (13:36 +0000)]
Go back to using git

12 years agoDon't install the pdns_recursor by default.
Roy Marples [Wed, 22 Apr 2009 10:08:13 +0000 (10:08 +0000)]
Don't install the pdns_recursor by default.

12 years agoDefault PREFIX to nothing as we expect to be installed in root. openresolv-3.3
Roy Marples [Wed, 22 Apr 2009 09:31:04 +0000 (09:31 +0000)]
Default PREFIX to nothing as we expect to be installed in root.
Improve embedded service restart commands.

12 years agoWe need to eval the restart command
Roy Marples [Tue, 21 Apr 2009 22:28:36 +0000 (22:28 +0000)]
We need to eval the restart command

12 years agoStyle
Roy Marples [Tue, 21 Apr 2009 22:14:59 +0000 (22:14 +0000)]
Style

12 years agoUse printf to get exact escaping for sed.
Roy Marples [Tue, 21 Apr 2009 22:13:05 +0000 (22:13 +0000)]
Use printf to get exact escaping for sed.

12 years agoRemove x bit
Roy Marples [Tue, 21 Apr 2009 21:44:17 +0000 (21:44 +0000)]
Remove x bit

12 years agoRemove resolvconf -s support.
Roy Marples [Tue, 21 Apr 2009 21:30:41 +0000 (21:30 +0000)]
Remove resolvconf -s support.
Instead we build how to restart services into each subscriber.
This is also configurable in resolvconf.conf.

Also, pdns_recursor has no global forward support, so don't attempt to
fudge a configuation for it.

12 years agoSave on a fork when restarting services.
Roy Marples [Tue, 21 Apr 2009 16:08:43 +0000 (16:08 +0000)]
Save on a fork when restarting services.

12 years agoAllow service to be called from subscribers
Roy Marples [Tue, 21 Apr 2009 15:58:12 +0000 (15:58 +0000)]
Allow service to be called from subscribers

12 years agoAvoid forking needlessly.
Roy Marples [Tue, 21 Apr 2009 15:37:24 +0000 (15:37 +0000)]
Avoid forking needlessly.

12 years agoOnly call resolvconf -v when our subcribers don't have any data.
Roy Marples [Tue, 21 Apr 2009 12:55:04 +0000 (12:55 +0000)]
Only call resolvconf -v when our subcribers don't have any data.
This is a good speedup, and still our subscribers to be run by themselves.

12 years agoRemove surperfluous {}
Roy Marples [Tue, 21 Apr 2009 12:34:14 +0000 (12:34 +0000)]
Remove surperfluous {}

12 years agoAdd a subcriber for the PowerDNS Recursor
Roy Marples [Tue, 21 Apr 2009 12:31:25 +0000 (12:31 +0000)]
Add a subcriber for the PowerDNS Recursor

12 years agoRelease 3.2
Roy Marples [Mon, 20 Apr 2009 06:19:36 +0000 (06:19 +0000)]
Release 3.2

12 years agoImprove build system a little. openresolv-3.2
Roy Marples [Thu, 26 Mar 2009 11:43:33 +0000 (11:43 +0000)]
Improve build system a little.

12 years agoWe should ignore 255.255.255.255. as well.
Roy Marples [Thu, 26 Mar 2009 11:06:00 +0000 (11:06 +0000)]
We should ignore 255.255.255.255. as well.

12 years agoresolv_conf_passthrough makes the latest interface resolv.conf the real resolv.conf
Roy Marples [Thu, 26 Mar 2009 00:58:12 +0000 (00:58 +0000)]
resolv_conf_passthrough makes the latest interface resolv.conf the real resolv.conf

12 years agoIgnore invalid 0.0.0.0 nameservers.
Roy Marples [Thu, 26 Mar 2009 00:55:22 +0000 (00:55 +0000)]
Ignore invalid 0.0.0.0 nameservers.

12 years agoAdd private_interfaces configuration option for the times the calling
Roy Marples [Thu, 19 Mar 2009 23:24:24 +0000 (23:24 +0000)]
Add private_interfaces configuration option for the times the calling
program doesn't or can't know about openresolv -p flag.

12 years agoRelease 3.1.1
Roy Marples [Thu, 19 Mar 2009 09:50:06 +0000 (09:50 +0000)]
Release 3.1.1

12 years agoSimpifly logic and fix a typo. openresolv-3.1.1
Roy Marples [Thu, 19 Mar 2009 07:38:04 +0000 (07:38 +0000)]
Simpifly logic and fix a typo.

12 years agoRelease 3.1
Roy Marples [Wed, 18 Mar 2009 21:43:41 +0000 (21:43 +0000)]
Release 3.1

12 years agoWe should use lower case for normal variables. openresolv-3.1
Roy Marples [Wed, 18 Mar 2009 20:56:56 +0000 (20:56 +0000)]
We should use lower case for normal variables.

12 years agoWe need to process dynamic interfaces without metrics before ones
Roy Marples [Wed, 18 Mar 2009 18:24:15 +0000 (18:24 +0000)]
We need to process dynamic interfaces without metrics before ones
with metrics.

12 years agoAdd new config file and man page. openresolv-3.0
Roy Marples [Mon, 16 Mar 2009 20:45:51 +0000 (20:45 +0000)]
Add new config file and man page.

12 years agoMove the configuration to /etc/resolvconf.conf from individual files.
Roy Marples [Mon, 16 Mar 2009 20:42:52 +0000 (20:42 +0000)]
Move the configuration to /etc/resolvconf.conf from individual files.
dnsmasq and named subscribers now require you to configure where they
write their config files to.
This makes for a much easier configuration.

12 years agoNo need for PREFIX
Roy Marples [Sun, 15 Mar 2009 11:43:22 +0000 (11:43 +0000)]
No need for PREFIX

12 years agoRemove
Roy Marples [Sun, 15 Mar 2009 11:09:20 +0000 (11:09 +0000)]
Remove

12 years agoAlways add the generated by comment to resolv.conf and remove the default head file.
Roy Marples [Sun, 15 Mar 2009 08:32:27 +0000 (08:32 +0000)]
Always add the generated by comment to resolv.conf and remove the default head file.

12 years agoMove subscribers to libexec as they really don't belong in /etc
Roy Marples [Sat, 14 Mar 2009 22:04:00 +0000 (22:04 +0000)]
Move subscribers to libexec as they really don't belong in /etc

12 years agomandoc mandates the presence of .Os openresolv-2.1
Roy Marples [Thu, 12 Mar 2009 12:54:59 +0000 (12:54 +0000)]
mandoc mandates the presence of .Os

12 years agoRelease 2.0.1
Roy Marples [Sat, 7 Feb 2009 14:22:24 +0000 (14:22 +0000)]
Release 2.0.1

12 years agoFix metric, thanks to ikelos.
Roy Marples [Sat, 7 Feb 2009 14:21:04 +0000 (14:21 +0000)]
Fix metric, thanks to ikelos.

12 years agoRemove comments that no longer apply. openresolv-2.0.1
Roy Marples [Tue, 13 Jan 2009 00:07:47 +0000 (00:07 +0000)]
Remove comments that no longer apply.

12 years agoUse Aq macro
Roy Marples [Tue, 13 Jan 2009 00:04:30 +0000 (00:04 +0000)]
Use Aq macro

12 years agoWe should use %u instead of %d.
Roy Marples [Wed, 5 Nov 2008 14:57:17 +0000 (14:57 +0000)]
We should use %u instead of %d.

12 years agoUpdate bug page.
Roy Marples [Tue, 7 Oct 2008 20:03:14 +0000 (20:03 +0000)]
Update bug page.

12 years agoWhen an interface is marked private, we just discard the nameservers from the openresolv-2.0
Roy Marples [Fri, 3 Oct 2008 09:21:33 +0000 (09:21 +0000)]
When an interface is marked private, we just discard the nameservers from the
global search.

12 years agoRemove exe props.
Roy Marples [Wed, 1 Oct 2008 20:28:55 +0000 (20:28 +0000)]
Remove exe props.

12 years agoopenresolv no longer applies any semantics to resolv.conf for
Roy Marples [Wed, 1 Oct 2008 15:29:51 +0000 (15:29 +0000)]
openresolv no longer applies any semantics to resolv.conf for
making certain domains/nameservers private.
Instead we require explicit marking of being private.
The variables exposed to the helpers have also been changed, so any 3rd party
helpers will need to be updated.
As such the major version is bumped to 2.
Fixes bug #1 :)

12 years agoPunt .svn instead of .git for make dist.
Roy Marples [Wed, 24 Sep 2008 09:18:20 +0000 (09:18 +0000)]
Punt .svn instead of .git for make dist.

12 years agoPunt old files and ignore built files. openresolv-1.9
Roy Marples [Wed, 24 Sep 2008 09:10:09 +0000 (09:10 +0000)]
Punt old files and ignore built files.

13 years agoDocument setting /etc/resolv.conf to list the local nameserver.
Roy Marples [Wed, 17 Sep 2008 22:09:35 +0000 (22:09 +0000)]
Document setting /etc/resolv.conf to list the local nameserver.

13 years agoRelease 1.9
Roy Marples [Wed, 17 Sep 2008 13:34:58 +0000 (13:34 +0000)]
Release 1.9

13 years agoDocument IF_METRIC.
Roy Marples [Wed, 17 Sep 2008 13:34:34 +0000 (13:34 +0000)]
Document IF_METRIC.

13 years agometrics dir may not exist.
Roy Marples [Tue, 16 Sep 2008 08:26:41 +0000 (08:26 +0000)]
metrics dir may not exist.

13 years agoJust warn about illegal options.
Roy Marples [Wed, 10 Sep 2008 12:06:41 +0000 (12:06 +0000)]
Just warn about illegal options.

13 years agoAllow interface metric to be specified.
Roy Marples [Wed, 10 Sep 2008 12:05:34 +0000 (12:05 +0000)]
Allow interface metric to be specified.

13 years agoRelease openresolv-1.7.1
Roy Marples [Fri, 29 Aug 2008 07:39:38 +0000 (07:39 +0000)]
Release openresolv-1.7.1

13 years agoFix bind with >1 zone, #109
Roy Marples [Fri, 29 Aug 2008 07:38:10 +0000 (07:38 +0000)]
Fix bind with >1 zone, #109

13 years agoRelease openresolv-1.7
Roy Marples [Sun, 24 Aug 2008 11:43:27 +0000 (11:43 +0000)]
Release openresolv-1.7

13 years agoStrip new lines when echoing resolv.conf files per interface.
Roy Marples [Sun, 24 Aug 2008 08:02:33 +0000 (08:02 +0000)]
Strip new lines when echoing resolv.conf files per interface.

13 years agoText.
Roy Marples [Sun, 24 Aug 2008 06:06:09 +0000 (06:06 +0000)]
Text.

13 years agoEnsure we have a newline.
Roy Marples [Sat, 23 Aug 2008 09:38:28 +0000 (09:38 +0000)]
Ensure we have a newline.

13 years agoDon't update the helpers if the resolv.conf added matches what we already have for...
Roy Marples [Fri, 22 Aug 2008 09:58:55 +0000 (09:58 +0000)]
Don't update the helpers if the resolv.conf added matches what we already have for the interface.

13 years agoopenresolv-1.6
Roy Marples [Wed, 20 Aug 2008 13:30:15 +0000 (13:30 +0000)]
openresolv-1.6

13 years agosed is not always available, so stop using it.
Roy Marples [Wed, 20 Aug 2008 13:17:51 +0000 (13:17 +0000)]
sed is not always available, so stop using it.

13 years agoStyle
Roy Marples [Wed, 20 Aug 2008 13:17:32 +0000 (13:17 +0000)]
Style

13 years agoDon't state the man page section in the header.
Roy Marples [Wed, 20 Aug 2008 13:06:19 +0000 (13:06 +0000)]
Don't state the man page section in the header.

13 years agosed is not always available in /bin, so stop using it and use shell syntax.
Roy Marples [Tue, 19 Aug 2008 22:10:18 +0000 (22:10 +0000)]
sed is not always available in /bin, so stop using it and use shell syntax.

13 years agoRelease 1.5.1
Roy Marples [Mon, 7 Apr 2008 08:28:54 +0000 (08:28 +0000)]
Release 1.5.1

13 years agoCorrect pid path.
Roy Marples [Mon, 7 Apr 2008 08:25:49 +0000 (08:25 +0000)]
Correct pid path.

13 years agoRelease openresolv-1.5
Roy Marples [Fri, 7 Mar 2008 09:53:19 +0000 (09:53 +0000)]
Release openresolv-1.5

13 years agoMan page updates.
Roy Marples [Fri, 7 Mar 2008 09:42:53 +0000 (09:42 +0000)]
Man page updates.

13 years agowhitespace
Roy Marples [Fri, 7 Mar 2008 09:26:04 +0000 (09:26 +0000)]
whitespace

13 years agoInstall the head file.
Roy Marples [Thu, 6 Mar 2008 23:35:04 +0000 (23:35 +0000)]
Install the head file.

13 years agoMove the generated by comment to the head file so the user can edit it.
Roy Marples [Thu, 6 Mar 2008 23:31:28 +0000 (23:31 +0000)]
Move the generated by comment to the head file so the user can edit it.

13 years agoEnsure newlines appear.
Roy Marples [Thu, 6 Mar 2008 19:24:00 +0000 (19:24 +0000)]
Ensure newlines appear.

13 years agoFix dnsmasq dbus suppport for NetBSD.
Roy Marples [Thu, 6 Mar 2008 16:26:59 +0000 (16:26 +0000)]
Fix dnsmasq dbus suppport for NetBSD.

13 years agoRelease openresolv-1.4
Roy Marples [Wed, 5 Mar 2008 19:40:48 +0000 (19:40 +0000)]
Release openresolv-1.4

13 years agoRejig our Makefile to better support NetBSD. We now talk to /var/run/resolvconf direc...
Roy Marples [Wed, 5 Mar 2008 19:37:26 +0000 (19:37 +0000)]
Rejig our Makefile to better support NetBSD. We now talk to /var/run/resolvconf directly instead of the /etc/resolvconf/run link.

13 years agoRelease openresolv-1.3
Roy Marples [Tue, 12 Feb 2008 20:43:22 +0000 (20:43 +0000)]
Release openresolv-1.3

13 years agoAll vars should be upper case and descriptive.
Roy Marples [Tue, 12 Feb 2008 14:53:00 +0000 (14:53 +0000)]
All vars should be upper case and descriptive.

13 years agoUse POSIX getopts shell builtin to make life easier and add -f option to ignore missi...
Roy Marples [Mon, 11 Feb 2008 20:00:02 +0000 (20:00 +0000)]
Use POSIX getopts shell builtin to make life easier and add -f option to ignore missing interfaces, similar to rm -f functionality.

13 years agoWe shouldn't ship the .gitignore file
Roy Marples [Sat, 9 Feb 2008 14:24:33 +0000 (14:24 +0000)]
We shouldn't ship the .gitignore file

13 years agoRelease openresolv-1.2
Roy Marples [Sat, 9 Feb 2008 12:06:37 +0000 (12:06 +0000)]
Release openresolv-1.2

13 years agoIgnore distfiles.
Roy Marples [Sat, 9 Feb 2008 12:05:58 +0000 (12:05 +0000)]
Ignore distfiles.

13 years agoTypo
Roy Marples [Sat, 9 Feb 2008 11:52:09 +0000 (11:52 +0000)]
Typo