Set unbound to resolve a specific name to the destination IP of the request?

Yisha Wu yisha at securly.com
Tue Feb 16 05:50:47 UTC 2016


If your LAN and WIRELESS IPs are fixed and the corresponding responses are
also fixed, you can hard-code these in the unbound python module.

On Mon, Feb 15, 2016 at 2:41 AM, Sebastian Nielsen via Unbound-users <
unbound-users at unbound.nlnetlabs.nl> wrote:

> I have a Unbound resolver active in my network.
>
>
>
> This unbound resolver, does listen on 4 IPs, LAN=192.168.1.1,
> WIRELESS=192.168.3.1 and 2 more IPs.
>
>
>
> Now I want to assign a name to the unbound server itself, lets say ”
> unbound.example.org”, so ”unbound.example.org” resolves to the
> destination IP of the request packet, so when someone on LAN request ”
> unbound.example.org”, it should reply 192.168.1.1 , and if someone on
> WIRELESS makes a request for ”unbound.example.org”, it should reply
> 192.168.3.1.
>
>
>
> So the adress ”unbound.example.org” becomes the adress to the resolver
> itself, regardless of where you belong in the network in question.
>
>
>
> How can this be configured?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20160215/f43c45ff/attachment.htm>


More information about the Unbound-users mailing list