For up-to-date information and comments, search the EE Community or start a new topic. |
03-06-2021 06:38 PM
Hi All,
I am having issues with sporadic massive ping times so because I had an old Brightbox router, EE sent me a new Brightbox 1 hoping it will fix the problem.
On the new router, if I disable DHCP I can ping an external IP address fine (e.g. 8.8.8.8) but get name resolution errors when I ping by name (e.g. www.bbc.co.uk ). Doing nothing else other than switching DHCP back on resolves the issue. DNS is set to "get from ISP" but have also tried manually putting in Google's DNS servers and EE's DNS servers and it still doesn;t work.
The interface of the old and new router is the same but the old one works as expected and the new one has this DNS issue.
Only other thing to add is that when I got the router the wireless light was off (and I couldn't see the SSID) however the EE call centre person remotely connected to the router and it said it was on. A factory reset solved the problem. Also, when I change settings, sometimes it seems to kill the webserver on the router as I can no longer connect to the admin site. Rebooting the router seems to fix it. I wonder if somehow the firmware is messed up on the router they shipped me?
Any help appreciated.
Thanks
Lee.
Solved! See the answer below or view the solution in context.
04-06-2021 01:51 PM
Hi @leenowell ,
I think that's pretty conclusive. When you disable the DHCP functionality on the service provider's router, you also lose DNS functionality (i.e. the DNS service or daemon). It's possible that two distinct things are being turned off, or it's one service or daemon providing both the DHCP and DNS services (much like dnsmasq).
It's your choice what to do about this. The IP address 127.0.0.53 refers to your localhost/laptop. The entire subnet 127.0.0.0/8 refers to your localhost/laptop. (So you need to configure DNS on your devices another way.)
Personally I keep DHCP enabled on all my routers and daisy chain them for a triple-NAT configuration as this is simple and robust.
If you choose to go for a more advanced configuration. Have fun with that. I'm sure myself and others would be ok to hear of your network topology and intended configuration if you encounter any hiccups. You should have sufficient information to overcome your immediate DNS issue.
04-06-2021 02:03 PM
Thanks very much @mikeliuk for your help on this. So at least we have got to the root cause, the ultimate solution is a bit more tricky 🙂 So it looks like the old router must leave DNS running even though DHCP is disabled. Is there any logical reason why they would deliberately disable DNS if you didn't want the router to act as the DHCP server?
So my topology is..... I have the router on one subnet and all the internal network (routers, switch etc.) on a different subnet. I then have a PC running ClearOS which acts as the gateway (dual NIC) between the 2 and it provides all the network services e.g. DHCP, internal DNS, Virus / Malware scanning, Firewall etc etc.
So if I understand this correctly, the edge devices will need to have the ClearOS box as the DNS server in order to resolve internal names. Somehow I would then need to configure ClearOS to then forward to Google's DNS (e.g. or the EE ones) rather than forwarding on to the router. Is that correct?
Thanks
Lee.
04-06-2021 02:33 PM
Hi @mikeliuk
Just wanted to say a huge thank you for your help. I have changed the DNS entries in ClearOS to the Google ones for now and it seems to be working fine again. Still can't see the logic of disabling DHCP also killing DNS as the DNS servers should be given by the ISP but hey we got to the bottom of it. Can now go back to the original problem of solving my intermittent broadband "outage" issue.
Thanks once again
Lee.
04-06-2021 02:40 PM - edited 04-06-2021 03:50 PM
Hi @leenowell ,
I can't immediately think of any reason why anyone would deliberately disable DNS when the option given is to disable DHCP. It seems to fail the least astonishment principle so I would guess they are inter-related behind the scenes (e.g. one service provides both and they are either tightly coupled or the developer was too lazy to decouple these functions). The GUI developer probably did not account for the laziness of the backend developer so didn't mark the option as disabling both DNS and DHCP (this seems to be the current behaviour but a future version of the firmware could change this if a developer becomes embarrassed by this thread, perhaps).
From a quick look at the ClearOS server, that is indeed the logical place to be running an alternative DNS service, forwarding to public DNS servers (Quad9 might be considered for security, your mileage may vary). You'll need to check the documentation to ensure the forwarding works ok and that devices can access DNS ok (likely via the ClearOS server). In the optimal configuration, nothing should need to be done on the device side (e.g. mobiles and laptops) as the devices default to DHCP (clients, obviously).
Edit: just noting a corner case that it's possible some other option could decouple the DNS function from the DHCP function, but looking at the webpage for ClearOS, that seems to be the correct location for the on-site DNS server anyway.
Edit2: for the avoidance of doubt, we've really not discussed the service provider's own DNS servers here much. If the DNS service is running on the service provider's router on your site, it is likely to forward to the service provider's own DNS servers by default and in the first instance (these DNS server IP addresses should be discoverable on this forum somewhere). In theory, the service provider's DNS servers should be the fastest to reach within their own infrastructure but for debugging purposes, users are often pointed to public DNS servers which are often very robust.
04-06-2021 04:17 PM
Hi @mikeliuk
Yes good points particularly the use of the EE DNS servers. I would much rather the external DNS done by the router especially since the EE ones could (in theory) change over time and as you say should be the fastest.
I will give EE a call to see if there are any other router options from them and take if from there. Is there somewhere I can raise router "bugs"?
Thanks
Lee.
04-06-2021 05:12 PM
In practice, I think you will be better off with public DNS servers such as Quad9, cloudflare (1.1.1.1, 1.0.0.1), or Google DNS at least in the short term and especially if you want to disable DHCP on your service provider's router.
Although the service provider's DNS is good in theory, I've never heard anyone raving about how good they are. More commonly you will hear of people complaining of a DNS issue that is usually traced to the service provider's DNS and the solution is usually to switch to a public DNS server of high repute.
I'm not aware of the correct route to raise a router issue, that firmware updates do get released does suggest there is some way of recognizing issues. It's not even clear the problem is exactly as diagnosed as at least one other person would need to confirm they see the same thing to have confidence. If the service provider's router is based on a commercially available router, it would be good to simultaneously report to both the service provider and manufacturer (doubtless one or both parties would reject the issue as not their problem).
You also need to consider how many of the service provider's customers would choose to disable DHCP and then accidentally lose DNS (if this happens to any second person or second device at all). If you are the only person impacted, the issue will be placed at the appropriate point in the TODO list and this position could be below the "never" line.
DNS lookups are also cached for a time which could make it largely irrelevant which DNS server you forward to. Sometimes the frequency of updates is more important where a user is running a website and changing DNS entries and will often find those entries would be updated/available more quickly via public DNS servers than a service provider's DNS servers.
Many technical questions and choices have no best answer. I generally recommend going for the choice which saves the most time and reduces the amount of thinking required. The exception is if a person is actively trying to learn something, in which case go for the most difficult, fully-featured, production-ready option available.
I'm aware this is a lot of text and really no answer at all! 😂 I do believe the above is true though. 😎
05-06-2021 01:07 AM - edited 05-06-2021 01:57 AM
@mikeliuk wrote:
It's not even clear the problem is exactly as diagnosed as at least one other person would need to confirm they see the same thing to have confidence.
Here! I do so confirm as I implied in post 2.
I suspect that:
05-06-2021 08:50 AM
Hi @XRaySpeX ,
Many thanks. Just so that I am clear, please may I check that you also have the same service provider's device and when DHCP is enabled you see port 53/tcp open on that device, but that when you disable DHCP, you find that port 53/tcp is closed?
Once you have confirmed this, we will have reproduced the observation of the OP and would have reason to believe this is the current typical behaviour of that version of the firmware for perhaps a proportion of such devices, or all such devices with that firmware version.
05-06-2021 10:47 AM
@mikeliuk : All my ports are Stealth.
05-06-2021 03:28 PM
Wrong network.
This thread pertains to the internal private subnet of the service provider's router, not the WAN. 🤓