After broadband downtime, Amahi has DNS issues

dinomic
Posts: 65
Joined: Mon Jan 03, 2011 6:49 am

After broadband downtime, Amahi has DNS issues

Postby dinomic » Fri Mar 30, 2012 8:36 am

Hi all,

This has happened to me at least a couple of times now, and made me look extremely silly to the ISP support people :oops: ...

Basically, this is what happens. The cable broadband connection goes down, and then comes back. When this happens, sometimes the ISP's cable modem needs restarting, and sometimes it actually needs both the router AND the cable modem to be switched off for several seconds, the cable modem switched back on, and once all the right connection lights are on the modem switching the router back on. The problem is that, when this seems to happen, the Amahi box then masks a DNS problem. I say that it "masks" the problem because simply restarting DHCP and DNS from the Amahi Web Control panel doesn't seem to solve the issue - the only cure is to completely reboot the Amahi machine (not something I like doing, as it ruins my uptime!! ;) ).

So, what is going no that a simple restart of DNS and DHCP from the web control panel is not fixing? More importantly, are there any debug steps I can take when I have a connectivity problem to check whether the Amahi box is having DNS issues?
Norco 4220 Case
Gigabyte GA-G33-DS3R Motherboard w/ 8GB RAM
LSI SAS2116PCIe 6GB/s SAS (replaced 3Ware 9690SA-4I & Chenbro CK1360)
1 x Hitachi 160Gb2.5" System Drive (original 1 x OCZ 60GB Vertex 2 SATAII 2.5" SSD died)
8 x 4TB Hitachi Deskstars
6 x 3TB Hitachi Deskstars
6 x 2TB Hitachi Deskstars (1 dead!)

dinomic
Posts: 65
Joined: Mon Jan 03, 2011 6:49 am

Re: After broadband downtime, Amahi has DNS issues

Postby dinomic » Fri Mar 30, 2012 8:46 am

I should also add that, what has convinced me that it's an Amahi DNS issue is that I have machines on the network that are configured for networking as follows:

1) Wireless (with obviously Amahi doing the DHCP and DNS)
2) Wired (with Amahi as the DNS server)
3) Wired (with the ISP's DNS servers set)

When this connectivity issue occurs, only the machines configured as in point 3 above will connect to the internet.

I tried to test this out last night, but stopping DHCP on the Amahi box and temporarily setting the router to control DHCP, but for some reason the Amahi box starts up DHCP again on it's own! Also, on machines that allow for manually "Renewing the Lease" on WiFi connections (e.g. any iOS devices) don't seem to have an effect.
Norco 4220 Case
Gigabyte GA-G33-DS3R Motherboard w/ 8GB RAM
LSI SAS2116PCIe 6GB/s SAS (replaced 3Ware 9690SA-4I & Chenbro CK1360)
1 x Hitachi 160Gb2.5" System Drive (original 1 x OCZ 60GB Vertex 2 SATAII 2.5" SSD died)
8 x 4TB Hitachi Deskstars
6 x 3TB Hitachi Deskstars
6 x 2TB Hitachi Deskstars (1 dead!)

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: After broadband downtime, Amahi has DNS issues

Postby ciscoh » Fri Mar 30, 2012 6:55 pm

II tried to test this out last night, but stopping DHCP on the Amahi box and temporarily setting the router to control DHCP, but for some reason the Amahi box starts up DHCP again on it's own! Also, on machines that allow for manually "Renewing the Lease" on WiFi connections (e.g. any iOS devices) don't seem to have an effect.
Did you disable the watchdog on DHCP?

dinomic
Posts: 65
Joined: Mon Jan 03, 2011 6:49 am

Re: After broadband downtime, Amahi has DNS issues

Postby dinomic » Fri Mar 30, 2012 7:17 pm

Did you disable the watchdog on DHCP?
Good point, ciscoh. I'm relatively sure that I *did* disable the watchdog, but can't be 100% (as by this time, I was a bit flustered with not having fixed the issues). I'll be mindful to check that next time though.
Norco 4220 Case
Gigabyte GA-G33-DS3R Motherboard w/ 8GB RAM
LSI SAS2116PCIe 6GB/s SAS (replaced 3Ware 9690SA-4I & Chenbro CK1360)
1 x Hitachi 160Gb2.5" System Drive (original 1 x OCZ 60GB Vertex 2 SATAII 2.5" SSD died)
8 x 4TB Hitachi Deskstars
6 x 3TB Hitachi Deskstars
6 x 2TB Hitachi Deskstars (1 dead!)

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: After broadband downtime, Amahi has DNS issues

Postby cpg » Sat Jul 13, 2013 3:10 am

Hi, the description of the actual problem:
the Amahi box then masks a DNS problem
has no details.

what does that mean?

one thing to check is whether the DNS server is running when the problem occurs:

ps guax | grep bind

same for dhcp:

ps guax | grep dhcpd

and that may give some clues.

the next part is to run either dig or nslookup and see if the error is in the DNS server itself or how it looks.

similarly, look a the logs, searching for messages from the DNS server (bind) or the DNS server (dhcpd).
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 40 guests