Bind Redirect zone
-
Hello,
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:
*.testdomain.com SOME.INS.P.ADDRESS
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 22.33.44.55\. root.somedomain.com. ( 0 ; serial 3600 ; refresh 600 ; retry 86400 ; expire 3600 ; default_ttl ) ; ; Zone Records ; @ IN NS 22.33.44.55. @ IN A 22.33.44.55 @ IN NS . *.testdomain.com IN A 192.168.5.6
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.