Page 1 of 1

DNS server not working fine

Posted: Fri Jun 24, 2011 12:53 pm
by Tjalling
Hi, I used the troubleshooter and here is the result. Can anybody help me? I look several days in all the FAQs and the forum but i cannot find an answer for my problem. I appreciate help very much. Thanks a lot.


Step 1: Your HDA IP address is 192.168.178.26
Step 2: Your HDA domain name is home.com
Step 3: Your router IP address is 192.168.178.1
Step 4: Your HDA DNS server is NOT working fine for local hostnames.

connection timed out; no servers could be reached

search home.com
nameserver 192.168.178.26

inet addr:192.168.178.26 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: 2001:980:28cb:1:203:25ff:fe10:ddcb/64 Scope:Global
inet6 addr: fe80::203:25ff:fe10:ddcb/64 Scope:Link


rndc: connect failed: 127.0.0.1#953: connection refused
named is gestopt


# automatically generated file by hdactl
options {
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
forward only;
forwarders { 208.67.222.222; 208.67.220.220; };
listen-on port 53 { 192.168.178.26; 127.0.0.1; };
allow-query { trusted; };
};
acl "trusted" {
localhost;
10.8.0.0/24;
192.168.178.0/24;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
key "ddnskey" {
algorithm hmac-md5;
secret "8zaPJsiw9tOh2JFv4xiArw==";
};

view "internal" {
match-clients { trusted; };
match-destinations { trusted; };

zone "home.com" IN {
type master;
notify no;
file "dynamic/hda-n2a.conf";
allow-update { key ddnskey; };
check-names ignore;
};

zone "178.168.192.in-addr.arpa" IN {
type master;
notify no;
file "dynamic/hda-a2n.conf";
allow-update { key ddnskey; };
check-names ignore;
};



# NOTE, you can create a file /etc/named.conf.local and it will be automatically included here!
# WARNING - you better not break the format though!
};


udp 0 0 0.0.0.0:5353 0.0.0.0:*


#(the last part of the file)
h250 A 192.168.178.250
h251 A 192.168.178.251
h252 A 192.168.178.252
h253 A 192.168.178.253
h254 A 192.168.178.254
hda A 192.168.178.26
search A 192.168.178.26
setup A 192.168.178.26
calendar A 192.168.178.26
help A 192.168.178.26
wiki A 192.168.178.26
ldap A 192.168.178.26
router A 192.168.178.1
amahitunes A 192.168.178.26
extplorer A 192.168.178.26

#(the last part of the file)
250 PTR h250.home.com.
251 PTR h251.home.com.
252 PTR h252.home.com.
253 PTR h253.home.com.
254 PTR h254.home.com.

Re: DNS server not working fine

Posted: Fri Jun 24, 2011 7:24 pm
by bigfoot65
Are you using Amahi as your DHCP and sole DNS server? If you use Amahi for primary DNS and a different one for secondary, things will not work correctly.

Ensure you are not setting the DNS server in your router to point elsewhere. If you have to enable DNS on your router, point it towards your HDA IP address.

Re: DNS server not working fine

Posted: Sat Jun 25, 2011 3:45 am
by Tjalling
Hello Bigfoot,
Thanks for your reply. I already did several times what you suggest. But it didn't work. At last I found the answer for the problem. In Windows 7 I have IPv6 activated. When I deactivated it, the problem was gone. It is rather curious that I do not have the problem on my Jolicloud- and my Ubuntu computer. Perhaps Amahi can take care of this issue.
By the way, sorry for my English.
With regards, Tjalling