Page 1 of 3

Server working for over a year now fails to resolve external

Posted: Sat Jan 12, 2013 3:29 pm
by cybercowboy
I've been using Amahi for a few years now, this particular one for over a year. Never had a problem until today when it stopped resolving external DNS host names. I'm the only one with access to it and other than a recent aptitude update, aptitude upgrade to upgrade my plex server that resides on the same box nothing has changed in over a month.

Here is the results from the Network Troubleshooter Using the Network Troubleshooter, I failed step 7 - DNS resolving for external hostnames. Here's a paste to help troubleshoot: http://sprunge.us/ZGeA

Also because previous posts mention it I ran ps -e|grep named and get these results
2993 ? 00:00:00 named
3021 ? 00:00:00 named

I've switched over to DNS from my router but this is an almost critical piece of my home network so any help would be greatly appreciated

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 3:40 pm
by bigfoot65
Check to see if the DNS server is still running. Look in the dashboard under Settings-->Servers. Also you can change the DNS provider on the HDA to use google or your local ISP as well.

The wiki has guidance:

http://wiki.amahi.org/index.php/Changin ... S_provider

Hope that helps.

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 4:42 pm
by cybercowboy
Dns is still running
Running "hda-change-Dns 8.8.8.8 4.2.2.2"
Among other name servers all had the same results.

The service named doesn't seem to exist nor does /etc/named.conf
If I can get help recreating those I think I can get it working again.

[ Post made via iPad ] Image

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 4:52 pm
by bigfoot65
If named is running, then they should exist. Might check the status of it by doing /etc/init.d/named as root user.

If that does not work, I could attach a copy of mine and you could try recreating it.

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 5:05 pm
by cybercowboy

Code: Select all

root@Aquaman:/etc/init.d# /etc/init.d/named status bash: /etc/init.d/named: No such file or directory
No as seen above named doesn't exist, which is why I'm confused that a

Code: Select all

ps -e|grep named
I get

Code: Select all

2993 ? 00:00:01 named 3021 ? 00:00:00 named

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 5:06 pm
by cybercowboy
however even with that the hda manager does say DNS is running, so something got borked but I'm not sure how to fix it.

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 5:38 pm
by bigfoot65
Odd. Wonder is named/bind was uninstalled.

Might wanna check the logs in /var/log to see if you can find any trace of issues. There is a yum log too, so that might provide a clue.

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 5:45 pm
by cybercowboy
what's the actual packages name for 12.04? neither named nor bind are find via aptitude

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 5:46 pm
by cybercowboy
nm found package name (bind9 for those googling in the future)

dpkg -s bind9 results in

Code: Select all

dpkg -s bind9 Package: bind9 Status: install ok installed Priority: optional Section: net Installed-Size: 940 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: amd64 Version: 1:9.8.1.dfsg.P1-4ubuntu0.5 Replaces: apparmor-profiles (<< 2.1+1075-0ubuntu4), bind, dnsutils (<< 1:9.1.0-3) Depends: libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.5), libc6 (>= 2.14), libcap2 (>= 2.10), libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.5), libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.5), libisccc80 (= 1:9.8.1.dfsg.P1-4ubuntu0.5), libisccfg82 (= 1:9.8.1.dfsg.P1-4ubuntu0.5), liblwres80 (= 1:9.8.1.dfsg.P1-4ubuntu0.5), libxml2 (>= 2.7.4), debconf (>= 0.5) | debconf-2.0, netbase, adduser, lsb-base (>= 3.2-14), bind9utils (= 1:9.8.1.dfsg.P1-4ubuntu0.5), net-tools Suggests: dnsutils, bind9-doc, resolvconf, ufw Conflicts: apparmor-profiles (<< 2.1+1075-0ubuntu4), bind Conffiles: /etc/apparmor.d/local/usr.sbin.named 46622a9a6a8abf650eed70019af3cfd4 /etc/apparmor.d/usr.sbin.named 144f89103645684d748db1cf59a0adba /etc/ppp/ip-up.d/bind9 a3c27aae4a7a4e8c93ca98c1eddde038 /etc/ppp/ip-down.d/bind9 d68b2031e47f995a68d0b0f9601e687c /etc/ufw/applications.d/bind9 ac2316819866611a68b976db9125c9a7 /etc/network/if-up.d/bind9 a3c27aae4a7a4e8c93ca98c1eddde038 /etc/network/if-down.d/bind9 d68b2031e47f995a68d0b0f9601e687c /etc/bind/db.root 013336e29e65923682f7bce094bb3e5c /etc/bind/db.255 8aba258068c8c60a7ade3952a285f57d /etc/bind/bind.keys d1c04f3ca4874b6d57288494e64d4f8a /etc/bind/db.0 8aba258068c8c60a7ade3952a285f57d /etc/bind/zones.rfc1918 d04252b4368b66e28376f92613842888 /etc/bind/db.local e5d27ead2d238928a08d33c7a7333477 /etc/bind/named.conf.default-zones cf3c6c70e70516e6b3af112dd0a1907c /etc/bind/named.conf.local fb15a27656eafd86ff870effabc72f1e /etc/bind/named.conf 32be43ecfcb37f69bf967c15c368e184 /etc/bind/db.empty 4e7a0ebff9a8936e5a72ec18c0c49214 /etc/bind/db.127 64f5cf50e8d8192109dad43b779e5e36 /etc/init.d/bind9 c6d266c30d0d8fcff75bc492412f1667 Description: Internet Domain Name Server The Berkeley Internet Name Domain (BIND) implements an Internet domain name server. BIND is the most widely-used name server software on the Internet, and is supported by the Internet Software Consortium, www.isc.org. This package provides the server and related configuration files. Original-Maintainer: LaMont Jones <lamont@debian.org>

Re: Server working for over a year now fails to resolve exte

Posted: Sat Jan 12, 2013 5:50 pm
by bigfoot65
So all is well now? I thought you were using Fedora as you never specified. Guess I should not have assumed.