openresolv
9 years agoAdd .Lk macro to URLs
Roy Marples [Mon, 19 Mar 2012 11:10:53 +0000 (11:10 +0000)]
Add .Lk macro to URLs

9 years agoTurn of globbing when matching backlist entries.
Roy Marples [Wed, 22 Feb 2012 20:38:35 +0000 (20:38 +0000)]
Turn of globbing when matching backlist entries.
Fixes #16 again.

9 years agoAdd domain_blacklist and name_server_blacklist variables.
Roy Marples [Wed, 22 Feb 2012 13:42:52 +0000 (13:42 +0000)]
Add domain_blacklist and name_server_blacklist variables.
We default name_server_blacklist to 0.0.0.0 and allow pattern matching
on both lists.
Fixes #16.

9 years agoAdd resolv_conf_local_only which defaults to true.
Roy Marples [Wed, 22 Feb 2012 11:26:33 +0000 (11:26 +0000)]
Add resolv_conf_local_only which defaults to true.
This means that the default behaviour is not to add any nameservers to
resolv.conf if we have a local nameserver. This way we don't query the
servers twice if a host isn't found, but does rely on a working
local nameserver. Set it to false to revert to the prior behaviour.

9 years agoRelease openresolv-3.4.6 openresolv-3.4.6
Roy Marples [Tue, 31 Jan 2012 09:07:14 +0000 (09:07 +0000)]
Release openresolv-3.4.6

9 years agoCopyright
Roy Marples [Mon, 30 Jan 2012 23:28:27 +0000 (23:28 +0000)]
Copyright

9 years agoSend IPv6 domain servers to dnsmasq via dbus.
Roy Marples [Mon, 30 Jan 2012 23:27:53 +0000 (23:27 +0000)]
Send IPv6 domain servers to dnsmasq via dbus.

9 years agodnsmasq does not support setting IPv6 domain forwarders over dbus :(
Roy Marples [Thu, 15 Dec 2011 02:13:27 +0000 (02:13 +0000)]
dnsmasq does not support setting IPv6 domain forwarders over dbus :(

9 years agoRelease openresolv-3.4.5 openresolv-3.4.5
Roy Marples [Thu, 24 Nov 2011 00:03:59 +0000 (00:03 +0000)]
Release openresolv-3.4.5

9 years agoEnsure that we save all changes, including just a metric or privacy change
Roy Marples [Wed, 23 Nov 2011 22:09:21 +0000 (22:09 +0000)]
Ensure that we save all changes, including just a metric or privacy change
and pass this onto our subscribers accordingly.

10 years agoAdd domain, if available, to resolv.conf.
Roy Marples [Fri, 12 Aug 2011 13:19:25 +0000 (13:19 +0000)]
Add domain, if available, to resolv.conf.
Only add search if available and different from domain.
This allows us to more acurately represent the given data even if a little
superfluous.

10 years agoresolvconf -v now outputs DOMAIN= which is the first domain (not search) processed.
Roy Marples [Thu, 11 Aug 2011 17:32:50 +0000 (17:32 +0000)]
resolvconf -v now outputs DOMAIN= which is the first domain (not search) processed.

10 years agoUse read -r so that we ignore any backslash.
Roy Marples [Thu, 11 Aug 2011 12:26:17 +0000 (12:26 +0000)]
Use read -r so that we ignore any backslash.

10 years agoInstead of extracting options and sortlist we now just dump
Roy Marples [Thu, 11 Aug 2011 10:20:25 +0000 (10:20 +0000)]
Instead of extracting options and sortlist we now just dump
everthing that is not a nameserver, domain or search from our
listed resolv.confs.
We append our configured options and sortlist at the end of this to override
anything if needed.

10 years agoDocument resolv_conf_sortlist.
Roy Marples [Thu, 11 Aug 2011 10:19:53 +0000 (10:19 +0000)]
Document resolv_conf_sortlist.

10 years agoWhen printing the interfaces resolv.conf we should preserve whitespace
Roy Marples [Thu, 11 Aug 2011 09:18:16 +0000 (09:18 +0000)]
When printing the interfaces resolv.conf we should preserve whitespace
on lines with information.

10 years agoRespect the sortlist resolv.conf option
Roy Marples [Wed, 10 Aug 2011 20:02:18 +0000 (20:02 +0000)]
Respect the sortlist resolv.conf option

10 years agoMatch the --libexecdir behaviour of dhcpcd
Roy Marples [Wed, 10 Aug 2011 20:00:31 +0000 (20:00 +0000)]
Match the --libexecdir behaviour of dhcpcd

10 years agoRelease openresolv-3.4.4 openresolv-3.4.4
Roy Marples [Mon, 25 Jul 2011 20:22:55 +0000 (20:22 +0000)]
Release openresolv-3.4.4

10 years agoDon't write pdnsd.conf if it doesn't exist or it's not writeable.
Roy Marples [Mon, 25 Jul 2011 20:21:59 +0000 (20:21 +0000)]
Don't write pdnsd.conf if it doesn't exist or it's not writeable.

10 years agoRelease openresolv-3.4.3 openresolv-3.4.3
Roy Marples [Mon, 25 Jul 2011 19:35:02 +0000 (19:35 +0000)]
Release openresolv-3.4.3

10 years agoTry to ensure that the directories our config files want to live in exist.
Roy Marples [Sun, 24 Jul 2011 14:56:05 +0000 (14:56 +0000)]
Try to ensure that the directories our config files want to live in exist.

10 years agoUse printf %s
Roy Marples [Mon, 13 Jun 2011 15:22:02 +0000 (15:22 +0000)]
Use printf %s

10 years agoFix pdnsd for printf(1)
Roy Marples [Mon, 13 Jun 2011 13:33:22 +0000 (13:33 +0000)]
Fix pdnsd for printf(1)
More for #14

10 years agoUse printf %s for printing interface names.
Roy Marples [Mon, 13 Jun 2011 13:23:35 +0000 (13:23 +0000)]
Use printf %s for printing interface names.
More for #14

10 years agoRelease openresolv-3.4.2 openresolv-3.4.2
Roy Marples [Mon, 13 Jun 2011 10:36:47 +0000 (10:36 +0000)]
Release openresolv-3.4.2

10 years agoUse printf %s so user send data cannot do any formatting.
Roy Marples [Mon, 13 Jun 2011 10:34:00 +0000 (10:34 +0000)]
Use printf %s so user send data cannot do any formatting.
Important for handling some IPv6 addresses.
Fixes #14.

10 years agoImprove shell portability
Roy Marples [Wed, 1 Jun 2011 06:20:02 +0000 (06:20 +0000)]
Improve shell portability
Thanks to jilles@FreeBSD.org
Fixes #15

10 years agoRemove extra BUGS section.
Roy Marples [Fri, 13 May 2011 19:24:53 +0000 (19:24 +0000)]
Remove extra BUGS section.
Fixes #13.

10 years agoTypo.
Roy Marples [Thu, 21 Apr 2011 09:57:09 +0000 (09:57 +0000)]
Typo.
Fixes #12.

10 years agoRelease openresolv-3.4.1 openresolv-3.4.1
Roy Marples [Tue, 28 Dec 2010 16:17:03 +0000 (16:17 +0000)]
Release openresolv-3.4.1

10 years agoFix rc-service call by passing -Ds to the service and not rc-service.
Roy Marples [Thu, 23 Dec 2010 22:22:38 +0000 (22:22 +0000)]
Fix rc-service call by passing -Ds to the service and not rc-service.

10 years agoExport LOCALNAMESERVERS for any non shell subscribers.
Roy Marples [Fri, 5 Nov 2010 09:28:43 +0000 (09:28 +0000)]
Export LOCALNAMESERVERS for any non shell subscribers.

10 years agoRelease openresolv-3.4.0 openresolv-3.4.0
Roy Marples [Fri, 5 Nov 2010 07:34:36 +0000 (07:34 +0000)]
Release openresolv-3.4.0

10 years ago-d instead of -x
Roy Marples [Thu, 4 Nov 2010 15:51:01 +0000 (15:51 +0000)]
-d instead of -x

10 years agoAdd a kuldge so named can work out of the box on Debian
Roy Marples [Thu, 4 Nov 2010 15:46:21 +0000 (15:46 +0000)]
Add a kuldge so named can work out of the box on Debian
as the init script there is called bind9.

10 years agoAllow service names to be configured.
Roy Marples [Thu, 4 Nov 2010 14:42:02 +0000 (14:42 +0000)]
Allow service names to be configured.

10 years agoFix invoke-rc.d a little.
Roy Marples [Thu, 4 Nov 2010 14:41:51 +0000 (14:41 +0000)]
Fix invoke-rc.d a little.

10 years agoFix for Makefile syntax.
Roy Marples [Thu, 4 Nov 2010 12:58:21 +0000 (12:58 +0000)]
Fix for Makefile syntax.

10 years agoWorkaround a bug in the dash shell
Roy Marples [Thu, 4 Nov 2010 12:56:31 +0000 (12:56 +0000)]
Workaround a bug in the dash shell

10 years agoMatch copyright in other subscribers
Roy Marples [Thu, 4 Nov 2010 11:57:28 +0000 (11:57 +0000)]
Match copyright in other subscribers

10 years agoUse a configure command instead of working things out in the Makefile.
Roy Marples [Thu, 4 Nov 2010 11:40:19 +0000 (11:40 +0000)]
Use a configure command instead of working things out in the Makefile.
This makes us a little more lean and mean and allows us to add an override
for ArchLinux, fixing #10.

11 years agoIf local name servers are configured by resolvconf -a lo we need to
Roy Marples [Sat, 30 Oct 2010 13:17:59 +0000 (13:17 +0000)]
If local name servers are configured by resolvconf -a lo we need to
respect that.

11 years agoFix for no entries.
Roy Marples [Sat, 30 Oct 2010 12:19:21 +0000 (12:19 +0000)]
Fix for no entries.

11 years agoAllow search domains and name servers to be appended.
Roy Marples [Fri, 29 Oct 2010 18:48:10 +0000 (18:48 +0000)]
Allow search domains and name servers to be appended.

11 years agoAllow pdnsd_conf to work without pdnsd_resolv.
Roy Marples [Fri, 29 Oct 2010 18:37:55 +0000 (18:37 +0000)]
Allow pdnsd_conf to work without pdnsd_resolv.

11 years agoDocument pdnsd_conf option.
Roy Marples [Fri, 29 Oct 2010 16:22:25 +0000 (16:22 +0000)]
Document pdnsd_conf option.

11 years agoWhitespace
Roy Marples [Fri, 29 Oct 2010 15:53:36 +0000 (15:53 +0000)]
Whitespace

11 years agoAllow pdnsd to add forward domains to it's configuration file.
Roy Marples [Fri, 29 Oct 2010 15:47:49 +0000 (15:47 +0000)]
Allow pdnsd to add forward domains to it's configuration file.

11 years agoAdd support for pdnsd.
Roy Marples [Thu, 28 Oct 2010 21:43:00 +0000 (21:43 +0000)]
Add support for pdnsd.

11 years agoRelease openresolv-3.3.6
Roy Marples [Thu, 23 Sep 2010 21:04:40 +0000 (21:04 +0000)]
Release openresolv-3.3.6

11 years agoAdd missing -I option to getopt(1p) call.
Roy Marples [Thu, 23 Sep 2010 19:12:59 +0000 (19:12 +0000)]
Add missing -I option to getopt(1p) call.
Thanks to Michał Górny.

11 years agoWe should not abuse Ta.
Roy Marples [Sun, 4 Jul 2010 08:16:54 +0000 (08:16 +0000)]
We should not abuse Ta.

11 years agoSupport dbus on dnsmasq on Debian.
Roy Marples [Thu, 10 Jun 2010 15:43:24 +0000 (15:43 +0000)]
Support dbus on dnsmasq on Debian.

11 years agoRelease openresolv-3.3.5 openresolv-3.3.5
Roy Marples [Thu, 10 Jun 2010 13:18:08 +0000 (13:18 +0000)]
Release openresolv-3.3.5

11 years agoSupport Debian invoke-rc.d
Roy Marples [Thu, 10 Jun 2010 13:17:46 +0000 (13:17 +0000)]
Support Debian invoke-rc.d

11 years agoTypo. Thanks to David Horn.
Roy Marples [Thu, 28 Jan 2010 10:14:26 +0000 (10:14 +0000)]
Typo. Thanks to David Horn.

11 years agoDon't stomp on existing configs.
Roy Marples [Fri, 4 Dec 2009 22:22:05 +0000 (22:22 +0000)]
Don't stomp on existing configs.

11 years agoname_servers is stripped of local host and then passed to subcribers.
Roy Marples [Fri, 4 Dec 2009 21:07:51 +0000 (21:07 +0000)]
name_servers is stripped of local host and then passed to subcribers.
This allows global DNS to be set, fixes #7.

11 years agoRelease openresolv-3.3.4
Roy Marples [Fri, 4 Dec 2009 13:06:38 +0000 (13:06 +0000)]
Release openresolv-3.3.4

11 years agoFix a restart issue.
Roy Marples [Fri, 4 Dec 2009 10:47:01 +0000 (10:47 +0000)]
Fix a restart issue.

11 years agoAllow only one configuration file to be configured.
Roy Marples [Fri, 4 Dec 2009 10:13:50 +0000 (10:13 +0000)]
Allow only one configuration file to be configured.

11 years agoSIGHUP can restart unbound nicely. If that fails, restat the service.
Roy Marples [Fri, 4 Dec 2009 10:13:09 +0000 (10:13 +0000)]
SIGHUP can restart unbound nicely. If that fails, restat the service.

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.

12 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.