pdns icon indicating copy to clipboard operation
pdns copied to clipboard

Lua Records: Support of empty answers on filterForward()

Open paddg opened this issue 2 years ago • 2 comments

  • Program: Authoritative
  • Issue type: Feature request

Short description

Return empty answers from filterForward() for addresses in the NetmaskGroup argument, instead of 0.0.0.0 or ::0.

Usecase

We'd like to use createForward() in conjunction with filterForward(). Up to now we have answered queries for addresses outside our networks with an empty answer. filterForward() responds with 0.0.0.0 or ::0 by default in this case. Since we do not want to change the usual behavior of our DNS servers, it would be nice if we could continue do so.

Description

In addition, filterForward() should accept '' (empty string) as the fallback argument and it should respond with a empty answer in this case.

paddg avatar Jan 19 '23 11:01 paddg

@Habbie, do you think this feature will make it into a 4.8 maintenance release? We'd be very happy.

paddg avatar Jun 07 '23 10:06 paddg

I'll see what I can do, and otherwise I hope we can ship some fun new features in a 4.9 alpha soon. I'll try to keep them backportable :)

Habbie avatar Jun 07 '23 11:06 Habbie

Is this still planned for 4.9? I ask because no new milestone was set.

paddg avatar Mar 08 '24 11:03 paddg

Oops. I'll see what I can do!

Habbie avatar Mar 08 '24 11:03 Habbie

#13879 :)

Habbie avatar Mar 08 '24 18:03 Habbie