Bind Redirect zone
I've been trying to setup a redirect zone on bind - I want to send all request for *.testdomain.com to a particular NS.
In theory it seems very simple, but I can't make it work using the pfSense UI. I use "." (no quotes) as the zone name, I set the views correctly, I out in a A entry such as:
But when I do restart bind, I get the following in my logs:
Nov 8 14:38:29 named 15548 general: critical: exiting (due to fatal error) Nov 8 14:38:29 named 15548 general: critical: loading zones: empty label Nov 8 14:38:29 named 15548 general: error: redirect-zone/pfSense: not loaded due to errors.
I'm not sure what label is supposedtly empty. Is is the resulting zone config file that the UI has generated with my config
$TTL 300 ; $ORIGIN .. ; Database file ..DB for . zone. ; Do not edit this file!!! ; Zone version 0 ; @ IN SOA 188.8.131.52\. root.somedomain.com. ( 0 ; serial 3600 ; refresh 600 ; retry 86400 ; expire 3600 ; default_ttl ) ; ; Zone Records ; @ IN NS 184.108.40.206. @ IN A 220.127.116.11 @ IN NS . *.testdomain.com IN A 192.168.5.6