Page 1 of 1

Hotspot - DNS questions

Posted: Fri Aug 03, 2018 2:01 pm
by Alastair
Hi, I had a couple of questions about hotspots and DNS, being fairly new to ROS:

1. Should I set clients to use the hotspot router as the DNS server, or is it OK to use DNS servers in the DHCP scope other than those the router itself is configured with (e.g. Google/OpenDNS for clients vs ISP via PPPoE for router)? Seems that the router and clients should use the same to me, but I have seen examples where they aren't & wonder if this could cause transient access issues if resolution differs at any point.

2. When adding a host by name into the walled garden, the router does a DNS lookup at that point I think - does it then re-do the lookup and walled garden entry when the TTL expires, or only at reboot or...? Again, I have seen examples where scripts are run every so often to manually update the walled garden IP entries and I wasn't sure if this was still required.

Appreciate I can lab this up and test but wanted to ask what best practice was for #1 and get an official/community response on #2 if possible so I know what the expected behaviour of the hotspot is in relation to DNS resolution (could not find anything in a quick search on the forums/internet that sets the current status out clearly), thanks.

Re: Hotspot - DNS questions

Posted: Fri Aug 10, 2018 10:52 am
by chriscolden
Personally I use cloudflare for my guest DNS set by DHCP. The reason for this is that I don't want my guest network to be able to resolve names on my internal network. Firewall is also set to block all traffic from the guest network to the internal network, and then an additional rule to block the dns port to the gateway ip. This fully isolates them from me.