initial stab at 'ALIAS' or 'ANAME' records for PowerDNS. To use, set an ALIAS record on your apex. Secondly, configure PowerDNS with 'recursor=a.recursor.ip'. Sample zone:

@	IN	SOA	ns1 ahu 2014091619 7200 3600 1209600 3600
@	IN	NS	ns1
@	IN	NS	ns2
www	IN	CNAME	xs.powerdns.com.
ns1	IN	A	1.2.3.4
ns2	IN	A	4.3.2.1
@	IN	ALIAS	www.powerdns.com.
@	IN	MX	25 outpost.ds9a.nl.
elsewhere	IN	CNAME	@

Semantics are that real records override the ALIAS. We only reach out to the alias record if nothing else matched.
this currently breaks ANY queries for the apex btw.
some documentation
remove spurious 'any' (thanks seth) plus clarify CNAME walking
typos
EDNS0, AXFR details, rationale, some wording improvements
Merge branch 'master' into alias

Conflicts:
	pdns/dnsproxy.cc
API: Replace HTTP Basic auth with static key in custom header

Given that the key is sent in a custom header, this should prevent
any possible CSRF attacks.

Fixes #1769.
debian: Remove unused files, targets
nit, thanks @nivadis
Handle missing Lua when lua backend is enabled

The first case handles ./configure --with-modules='lua' --with-lua=no.
I don't know who would do such a thing, but better handle it in
./configure than bailing out later with a compiler error.

The second case handles ./configure --with-modules=lua when you don't have
Lua installed, which I actually observed since I assumed enabling the
lua backend would be enough, and I did't have the lua headers on my
system.

Fixes #1618
Don't override the user's FLAGS

Fedora for instance sets -fstack-protector-strong
but we override that with -fstack-protector, which is less secure

Ideally we never touch CFLAGS, CXXFLAGS and the like but fixing
that is an exercise left for the reader.
Merge pull request #1786 from zeha/cleanup-debian-dir

debian: Remove unused files, targets
Set BOOST_CPPFLAGS and THREADFLAGS globally

Should fix #1523
Merge pull request #1789 from rubenk/dont-override-user-cflags

Don't override the user's FLAGS
Merge pull request #1788 from rubenk/handle-missing-lua-better

Handle missing Lua when lua backend is enabled
closes #1785 - compile on platforms w/o SO_TIMESTAMP
Merge branch 'master' of github.com:PowerDNS/pdns
Link binaries explicitly with libpthread if needed
Darwin has pthread in libc

Fixes the following warning:
clang: warning: argument unused during compilation: '-pthread'
Don't look in system include paths for pdns headers