Page 1 of 3

Local DNS server not working properly

Posted: Thu Dec 13, 2012 4:57 am
by wvdlee
On my hda the local DNS server seems to fail.
I did not change anything to my hda , probably an automatic update broke it.

only http://hda is working, all other aliases and webapps are not.

example:
  • willem@amahi-P5K:~$ nslookup hda
    Server: 192.168.178.10
    Address: 192.168.178.10#53

    Name: hda.huis.nl
    Address: 192.168.178.10
but all other aliases are not working, examples:
  • willem@amahi-P5K:~$ nslookup router
    Server: 192.168.178.10
    Address: 192.168.178.10#53

    *** Can't find router: No answer
  • willem@amahi-P5K:~$ nslookup transmission.huis.nl
    Server: 192.168.178.10
    Address: 192.168.178.10#53

    *** Can't find transmission.huis.nl: No answer
none of the links to the webapps are working,
but the webapps themself are fine, since "localhost:9091" opens the transmission web interface without problems.

Does anybody know how to fix this?

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 5:52 am
by bigfoot65
Are you using your HDA as the sole DHCP/DNS server? Also have you refreshed the client IP address?

Might try the network troubleshooter in the wiki.

http://wiki.amahi.org/index.php/Network_troubleshooting

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 7:39 am
by Atomic
Hi,

I am having same issue, as of this morning I have lost access to all Web-Apps and Aliases. I have tried to diagnoses the problem but i can't find anything that should be causing any issues.

It is an ubuntu based amahi and is being used for both DHCP and DNS.

This is the results of my network diagnostics.

Code: Select all

Step 1: Your HDA IP address is 192.168.1.30 Step 2: Your HDA domain name is atomic.com Step 3: Your router IP address is 192.168.1.1 Step 4: Your HDA DNS server is working fine for local hostnames. Step 5: Your router is NOT accessible from your HDA server. tom@Atomic:~$ netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0 10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 tom@Atomic:~$ arp -a h212.atomic.com (192.168.1.212) at c0:cb:38:47:94:37 [ether] on eth0 Tom-Laptop.atomic.com (192.168.1.217) at e0:b9:a5:fa:b9:07 [ether] on eth0 h001.atomic.com (192.168.1.1) at 00:24:b2:d8:50:fb [ether] on eth0 MATTS-PC.atomic.com (192.168.1.214) at 00:1a:ee:01:99:7c [ether] on eth0 tom@Atomic:~$ traceroute -q 1 -m 5 router traceroute to router (67.215.65.132), 5 hops max, 60 byte packets 1 h001.atomic.com (192.168.1.1) 0.151 ms 2 10.0.0.1 (10.0.0.1) 4.098 ms 3 cr0.swlj.uk.easynet.net (87.87.251.68) 815.257 ms 4 ip-87-87-159-161.easynet.co.uk (87.87.159.161) 803.556 ms 5 ip-84-38-37-126.easynet.co.uk (84.38.37.126) 815.191 ms tom@Atomic:~$ ping router PING router (67.215.65.132) 56(84) bytes of data. 64 bytes from hit-nxdomain.opendns.com (67.215.65.132): icmp_req=1 ttl=58 time=689 ms
Any help would be much appreciated!

Thanks Tom

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 7:55 am
by bigfoot65
Is that the correct router IP address? Does it match what you entered for your HDA profile on amahi.org?

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 7:59 am
by wvdlee
Hi,

I am having same issue, as of this morning I have lost access to all Web-Apps and Aliases. I have tried to diagnoses the problem but i can't find anything that should be causing any issues.

It is an ubuntu based amahi and is being used for both DHCP and DNS.

This is the results of my network diagnostics.

Code: Select all

Step 1: Your HDA IP address is 192.168.1.30 Step 2: Your HDA domain name is atomic.com Step 3: Your router IP address is 192.168.1.1 Step 4: Your HDA DNS server is working fine for local hostnames. Step 5: Your router is NOT accessible from your HDA server.
Any help would be much appreciated!

Thanks Tom
Step 4 states that your DNS server is working fine but this is not true!
It is ONLY working for http://hda all others fail!!

I am glad i am not the only one with this problem, it must be an update of bind or something that broke this.
I noticed that on 7 december my hda updated bind9 and relating things. Maybe this has something to do with the problem?
I tried a full update of ubuntu ( I am also on ubuntu based amahi) but that did not solve the problem.

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 8:01 am
by wvdlee
Is that the correct router IP address? Does it match what you entered for your HDA profile on amahi.org?
In my case that is not the correct router IP adress, I think it is OpenDNS because the DNS server cannot find "router"

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 8:08 am
by Atomic
Is that the correct router IP address? Does it match what you entered for your HDA profile on amahi.org?
Yeh, the IP address 192.168.1.1 matches what i have in amahi.org.

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 8:43 pm
by LCISTech
I went looking through all the bind9 database files and I can no longer find any entries for my web apps created for the server (like owncloud and phpMyAdmin). All I see are the dymanic entries created by the DHCP server.

Where and how where they originally stored so that I can but them back by hand?

Edit: I added the name of one of my web apps to my windows-pc's host file (pointing it to the HDA server's IP address). This has given me back some access.

Re: Local DNS server not working properly

Posted: Thu Dec 13, 2012 9:46 pm
by genel
Add me to the list of people with this problem. None of the aliases work, neither the ones for webaps nor the ones I added by hand.

I also grep'ed the bind directory and could find no sign of them.

Re: Local DNS server not working properly

Posted: Fri Dec 14, 2012 1:04 am
by theophobus
Same here... Seems the Ubuntu update has broken the server.