Using Draytek LAN DNS Function To Resolve Hostnames Locally
DrayTek Vigor Router located on racking within a comms cabinet.

Using Draytek LAN DNS Function To Create and Resolve Hostnames Locally


It is sometimes useful to be able to resolve hostnames locally without wanting to provision an entire local DNS server for the purpose.

The Draytek can do this by intercepting all DNS requests going out to the internet, and resolving them against its own database before passing them to the usual DNS server specified in the router configuration.

A good application would be to allow users to utilise a hostname to connect to a file server, which can significantly help to reduce the impact of future IP address changes of that server.

  • It would be considered best practice to ensure, where possible, all devices communicate via hostname rather than IP address.
  • Log into the Draytek
  • Go to Applications > LAN DNS / DNS Forwarding
  • Click the Index number of the first available Profile
  • Give the profile a descriptive name
  • In the Domain Name box, enter the full hostname you wish to resolve internally
  • Click the Add button at the bottom and specify the IP address this hostname should resolve to
  • Optionally tick the box to restrict the DNS lookups to devices on the same subnet
  • Click OK to activate

Once enabled, the Draytek will intercept all DNS requests and return the above-specified IP address when anybody on the LAN does a lookup for the hostname specified.
(3 minutes)

Total Duration: 3 minutes

Real-Time Feedback

When we solve a support ticket, clients are given the choice of leaving good or bad feedback along with an optional comment. We post the 10 most recent comments here automatically and in real-time. You can view even more on our page.

Date Name Comments
Jul 18th Steve M The lady who answered the phone for my initial enquiry was very friendly & helpful. My request was turned around quickly & Lochie sent me over exactly what I needed. Very happy customer!
Jun 27th Carmen H Excellent thanks!
Jun 25th Jack T Lochie is a legend! Always helpful and resolves issues quickly!
Jun 12th Simon D Great service - got the programme working A+
Jun 10th Helen W Alex was great - sorted all the issues and got me back up and running
Jun 6th Darlene F The support received from Jack today was above and beyond my satisfaction. Great work! Thank you! Have a lovely rest of this day. We appreciate YOU! :-)
Jun 6th Niamh O Thanks for the speedy response/ help
Jun 2nd Bill S I was totally locked out and out of my depth with office 365 and outlook. I tried everything. Dean fixed it, got me up and running, (and on a weekend no less) and I am supremely grateful. Your Toronto staff rules!
May 30th Andy W Awesome, super fast response as it was an urgent requirement, thank you guys
May 29th Mark H As ever a quick response and problem sorted ... thanks Lochie!