Maintained by: NLnet Labs

[Unbound-users] how to resolve unqualified hostname?

Craig Hurley
Sat Apr 6 09:03:00 CEST 2013


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?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20130406/fdb7fab6/attachment.html>