Add DNS Records to Route10

Heya,

Not sure if this is already here but would love to be able to add custom DNS records on the Route10 for internal systems.

3 Likes

In the mean time, what I do is put in post-cfg.sh:

uci add_list dhcp.@dnsmasq[0].addnhosts='/cfg/hosts'
    uci commit
    /etc/init.d/dnsmasq reload

and add entries to /cfg/hosts.

3 Likes

You can do this temporarily by adding a bogus MAC with an IP address and hostname assignment, under Devices. We do plan to have just the IP<>hostname mapping at some point soon, but this work-around will suffice for the time being.

4 Likes

Legend, thanks both :slight_smile:

1 Like

This workaround also causes issues when another device is managing DNS, but wanting to use Route10 for the DHCP static IP management.

End result for me is the Route10 answers the DNS with the port mapping, leading to my reverse proxy no longer working (where all the hostnames are pointed.

1 Like

Could you configure the DHCP server in your VLANs to point DNS at your external service?

The proposed workaround isn’t viable for most scenarios. I face the same issues and reported the problem several weeks ago. This limitation creates difficulties in accessing local hosts through a reverse proxy server.

1 Like