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

Hauke Hoffmann kontakt at hauke-hoffmann.net
Fri Apr 10 23:41:03 UTC 2009


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





################################
## unbound.conf
server:
	verbosity: 1
	interface: 0.0.0.0
	port: 53
	do-ip4: yes
	do-ip6: yes
	do-udp: yes
	do-tcp: yes
	do-daemonize: yes
	access-control: 0.0.0.0/0 allow
	#access-control: 0.0.0.0/0 refuse
	#access-control: 127.0.0.0/8 allow
	chroot: "/srv/unbound"
	username: "unbound"
	directory: "/srv/unbound"
	use-syslog: yes
	pidfile: "/etc/unbound/unbound.pid"
	root-hints: "/srv/unbound/named.cache"
	logfile: ""

	local-zone: "local." static
	local-data: "ls.local. 86400 IN A 192.168.2.30"
	local-data: "mysql.ls.local. 86400 IN A 192.168.2.30"
	
	local-data: "printer-samsung.local. 86400 IN A 192.168.2.20"

##################################


-- 

hauke hoffmann service and electronic systems

Moristeig 60, D-23556 Lübeck

Telefon: +49 (0) 451 8896462
Fax: +49 (0) 451 8896461
Mobil: +49 (0) 170 7580491
E-Mail: office at hauke-hoffmann.net
PGP public key: www.hauke-hoffmann.net/static/pgp/kontakt.asc



More information about the Unbound-users mailing list