Draytek Vigor 2830n - DNS resolution of DHCP-allocated IPs?

For discussing Linux compatible (or not) devices

Moderators: ChriThor, LXF moderators

Draytek Vigor 2830n - DNS resolution of DHCP-allocated IPs?

Postby kvonh » Mon Feb 13, 2012 6:10 pm

I've just bought a Draytek Vigor 2830n router. Mostly very pleased so far BUT ... The Draytek is happily doling out IP addresses to local clients using its built-in DHCP server, however those address allocations are not accessible (i.e. names are not resolved to the issued IP) via the draytek's DNS service.

Now all the words I've read suggest that the the DNS within the Draytek is a proxy, and not a "proper" DNS service in & of itself. But I wondered whether anyone has had any joy setting it up to fulfil locally-allocated IP-address DHCP name-resolution requests. It seems odd to me that such a key function should be absent from an otherwise very sophisticate and capable router, which makes me think I may be missing something?

If I'm right, I fear I will have to connect through to a different machine in order to do DHCP allocations and local-address-DNS-resolution, which would be a shame - so any top tips would be most welcome.


User avatar
Posts: 19
Joined: Tue Apr 12, 2005 9:46 pm

Postby paulm » Tue Feb 14, 2012 4:05 pm

I've never seen any router DNS setup that will resolve local names. I doubt its possible.

To enable that sort of service, you have two choices - set up and maintain /etc/hosts on each machine (a bit of a pain, since you need to keep them in sync when any changes are made), or set up a local server which runs bind, dnsmasq or similar software.

I currently use an old Amahi server which runs bind, but that really is gross overkill for a small local network. The Amahi box is being replaced with a box running SMS, using dnsmasq for DHCP/DNS services. All I need is time to get the SMS box completed...

LXF regular
Posts: 270
Joined: Mon Apr 03, 2006 4:53 am
Location: Oxfordshire, UK

Postby Rhakios » Tue Feb 14, 2012 9:13 pm

I don't have too many computers to use a custom hosts file, so that's what I do, but I keep on running across the term "zeroconf" when ever I read about networking. It seems that when Avahi (which provides zeroconf for Linux networks) is "run in conjunction with nss-mdns it offers host name resolution". But then, I've never read a tutorial on how to set up Avahi and as I don't really need it, I'm unlikely to.
Bye, Rhakios
User avatar
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

Postby wyliecoyoteuk » Tue Feb 14, 2012 10:07 pm

paulm wrote:I've never seen any router DNS setup that will resolve local names. I doubt its possible.

Odd. I see them all of the time, most routers will serve as DNS relays or local DNS servers (usually for CIFS subnets), but only if they are the DHCP server as well.

However, I rarely use them, I usually use an internal DNS server, with the router as the secondary server.

Probably if configured as a DNS relay or Proxy, it will not work, as local addresses are by definition not available to external DNS.
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
LXF regular
Posts: 3525
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK

Postby bobthebob1234 » Tue Feb 14, 2012 11:30 pm

I got some rubbish netgear thing/router that doesn't do local DNS, but I have an openwrt switch/wifi box that does dhcp and dns automagically :D

If you kvonh/James set up static (dynamic) ip addresses (or reservations) does that help? I have noticed that before, where if I don't add a reservation then no dns, but if I set a reservation and give it a name then I can ping that reservation by name
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
LXF regular
Posts: 1373
Joined: Thu Jan 03, 2008 9:38 pm
Location: A hole in a field

Return to Hardware

Who is online

Users browsing this forum: No registered users and 0 guests