Repository navigation
|
We have a special use case where we need to have a 'fake root' zone. That is, for any query made to the DNS server, it needs to be able to return a designated static set of records for any requested domain. This is easily doable in bind9 / named, but apparently not in Technitium DNS. I've tried a zone that has the records I am looking for as A and NS records including with a wildcard to match 'anything' but it's not working. I've also tried using Split Horizon app to do the same without any success. Is it even possible to make a 'catch all' responder in Technitium DNS? |
Replies: 1 comment 5 replies
|
Did you try adding a new primary zone with . as its name? Then create a * record with the value you want. I just did this quickly to test and it answers correctly for all Auth zones, and anything else I get the value I set in the * record. |



So, there's some interesting behavior here that I noticed.
I only got this to work when I used the NS as
.which points to the 'root zone' inside Technitium.I discovered this as well during the deep dive of the same on a newer BIND9 to see if I could replicate this. Turns out, things got different with how zones and NS records are handled. Not sure why this changed in
digand such, but with any NS record other than the 'root' zone itself (or no NS entries which isn't compliant), it doesn't work.Ultimately I had to do something like this:
This works but it's... a little tricky/annoying. This might be something I write up for the future...