[Unbound-users] Wildcards like *.foo.com

W.C.A. Wijngaards wouter at NLnetLabs.nl
Sat Apr 11 07:40:31 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Hauke,

No, unbound is not an authoritative server, and doesn't have all the
authoritative DNS capabilities (you could run a real auth server and
point a stub-zone at it).

What you want can be done with
	local-zone: "ls.local" redirect
	local-data: "ls.local 86400 IN A 192.168.2.30"

It replies with 192..30 for ls.local and everything below.
Including a.b.c.*.ls.local... So more than a wildcard would, but anyway
an academic difference to you, no doubt.

Best regards,
   Wouter

Hauke Hoffmann wrote:
> Hi,
> 
> I'm new to unbound but i've get it running. :-)
> 
> But I've a question:
> is it possible to use wildcards for subdomains like:
> 	*.ls.local.
> 
> 	local-data: "*.ls.local. 86400 IN A 192.168.2.30"
> and 
> 	local-data: ".ls.local. 86400 IN A 192.168.2.30"
> didn't work
> 
> 
> Thanks for helping!
> Regards
> Hauke
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkngSW4ACgkQkDLqNwOhpPjy3QCfW8qeOywGdknEB7oLU24v2591
aekAn0uN5FGox1uKfzzNTrCMjyRTeqGY
=slJ1
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list