[Unbound-users] how to resolve unqualified hostname?

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Sat Apr 6 20:13:00 UTC 2013


Zitat von Craig Hurley <phatypus at gmail.com>:

> Hello,
>
> I have the following config in unbound.conf:
>
> # Company DNS
> forward-zone:
>     name: "company.lan"
>     forward-addr: 192.168.0.1
>
> # OpenDNS via dnscrypt-proxy
> forward-zone:
>     name: "."
>     forward-addr: 127.0.0.1 at 40
>
> ... and this works great most of the time, the problem is I often receive
> emails with links to servers on the company lan such as "http://host1/"
> rather than "http://host1.company.lan/".
>
> I'd prefer not to hardcode the unqualified hostname "host1" to its
> *current* IP address as it may be subject to change.
>
> Is there a way to force the unqualified hostname "host1" to be resolved by
> the companies internal DNS server on 192.168.0.1?

That's what the search domain on the *client* side is used for. DNS is  
never unqualified so it would be wrong if the caching-resolver should  
try to care about IMHO.

Regards

Andreas






More information about the Unbound-users mailing list