Maintained by: NLnet Labs

[Unbound-users] Configuring CNAME for nosslsearch.google.com

Tobias Krais
Tue Apr 17 15:21:12 CEST 2012


Hi Thijs and Jan-Piet,

> In your case, you probably just need:
> 	local-data: "www.google.com CNAME nosslsearch.google.com."

I simply added this line to my /etc/unbound/unbound.conf

When restarting unbound I get the following error:
-----%<-----
root at tobias-xps:/# /etc/init.d/unbound restart
 * Restarting recursive DNS server unbound
/etc/unbound/unbound.conf:13: error: unknown keyword 'local_data'
/etc/unbound/unbound.conf:13: error: stray '"'
/etc/unbound/unbound.conf:13: error: unknown keyword 'www.google.com.'
/etc/unbound/unbound.conf:13: error: unknown keyword 'CNAME'
/etc/unbound/unbound.conf:13: error: unknown keyword
'nosslsearch.google.com.'
/etc/unbound/unbound.conf:13: error: stray '"'
read /etc/unbound/unbound.conf failed: 6 errors in configuration file
[1334668654] unbound[15064:0] fatal error: Could not read config file:
/etc/unbound/unbound.conf

 [fail]
-----%<-----

Well, I made a mistake. Can you help me?

Greetings,

Tobias