default reply when not resolved

Luiz Fernando Softov fernando at softov.com.br
Mon Apr 5 18:04:20 UTC 2021


Hi,

I have a server and want to reply a default IN A to some queries, if the
recursive was not found in Forward, local-zone, etc.

Example:
The user tries to resolve A for www.example.com.
If I was able to resolve, send back the reply 192.168.1.1.
If not, reply with another info, like 172.16.1.1

So, when users put something wrong, like wwwww.example.com, www.gooogle.com,
or netflixx.com, etc.

I want this working for all domains. not only those in example.
This way I can send private server IP, and in HTTP requests show some info
about the wrong domain.

There is a way to configure something like that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20210405/f815f7fb/attachment.htm>


More information about the Unbound-users mailing list