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
Nov 24th Andy K Exceptional service as always from the whole team, thank you Megan, Dean, Michael and Lochie : ) Many thanks, Chris and Andy
Nov 23rd Will Lochie, as always, was friendly, professional and fixed the problem (which was a dodgy virgin connection)
Nov 21st Walter O Purple Computing is our go too computer consultant. Competent, responsive, and focused on fixing our challenges permanently. I could not recommend Dean and his team more highly. They function as our IT department at a fraction of the cost.
Nov 20th Yvonne C Thanks Dean I didn’t expect such a prompt reply on a Sunday.! Much appreciated
Nov 18th Nigel T - well done James, great speedy service...
Nov 17th Sabira S very thorough and just one thing missed, which was fixed within 2 minutes of mentioning by email, top score...
Nov 15th Mark K Quick response that answered my question!
Nov 11th Leah E My issue was dealt with quickly and efficiently. I can't fault the service.
Nov 10th Ceri C Excellent service as always
Nov 7th Karen W Thank you Lochie for responding so quickly today Kindest regards Karen Book Keeper Space Kitchens & Bathrooms Ltd