[Unbound-users] how to resolve unqualified hostname?

Craig Hurley phatypus at gmail.com
Sat Apr 6 07:03:00 UTC 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: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20130406/fdb7fab6/attachment.htm>


More information about the Unbound-users mailing list