Page 1 of 2

SOLVED: My dyn-DNS adress get me to my routers gui!

Posted: Thu Sep 12, 2013 12:20 pm
by subzer0
When browsing my amahi dyn-dns adress I get to my routers gui both internal and external. How to avoid this?

Before i installed a Amahi server I could not access my router externally and I realy dont want to not this easy anyway.

If I run the network guide it fail on the first step.

subzer0@server:~$ nslookup hda
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: hda
Address: 67.215.65.132

it should be

Server: 192.168.1.10
Address: 192.168.1.10#53

Name: hda.home.com
Address: 192.168.1.10

I'm pretty sure I ran the test a week ago and passaed all steps.

Re: My dyn-DNS adress get me to my routers gui!

Posted: Thu Sep 12, 2013 12:29 pm
by subzer0

Re: My dyn-DNS adress get me to my routers gui!

Posted: Thu Sep 12, 2013 12:36 pm
by bigfoot65
Suggest you check your router settings. I do not have any problem and I have several things port forwarded. It seems as if you have something pointed incorrectly.

Re: My dyn-DNS adress get me to my routers gui!

Posted: Fri Sep 13, 2013 1:43 pm
by subzer0
I have checked my routers config but I cant find any missconfig. Its default configurated only some portforwarding and DHCP turned off. My router is a Buffalo WZR-HP-G300NH with DD-WRT v24-sp2 (08/07/10) std (SVN revision 14896). I have now configure the routers web config to https and only respond to few of my internal IPs so this is not realy a problem anymore. Now I can reach the Amahi dashboard. But I still think there is someting wrong with network konfiguration.

Last login: Fri Sep 13 22:07:14 2013 from 192.168.1.116
subzer0@server:~$ nslookup hda
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
Name: hda
Address: 67.215.65.132

Why do I get an external ip when nslookup on the server locally?
And the dashbord is not looking the same when accessed true the dyn-dns adress as true the external IP. Whe accessed true dyn-dns no pictures are loaded. And the links is not working when accessed externaly.

//Toni

Re: My dyn-DNS adress get me to my routers gui!

Posted: Fri Sep 13, 2013 3:02 pm
by bigfoot65
Sounds like your HDA is getting your ISP IP address. You might need to shutdown your entire network and start it up with modem, router, HDA, and then if all looks good the clients.

I had this happen once and after doing the shutdown, it all sorted itself out.

Re: My dyn-DNS adress get me to my routers gui!

Posted: Sat Sep 14, 2013 12:25 am
by subzer0
I have now shutdown the server and disconnected it from the network and booted it. After booting without network, I get no response from nslookup hda. As soon as I connect it to my router with an internet connection, I get a answer with an external ip. The external ip is not the same as my wan ip. There must be a host on the internet with the same name hda.

The servers name is "server" but it is represented on the network as "hda"

I get the same ip from nslookup on localhost, server and hda

subzer0@server:~$ nslookup localhost
Server: 208.67.222.222
Address: 208.67.222.222#53

** server can't find localhost: NXDOMAIN

Re: My dyn-DNS adress get me to my routers gui!

Posted: Sat Sep 14, 2013 6:30 am
by bigfoot65
Disconnecting it from the network will not help solve the issue. I recommend you connect it and try running the network troubleshooter.
https://wiki.amahi.org/index.php/Networ ... leshooting

Re: My dyn-DNS adress get me to my routers gui!

Posted: Sat Sep 14, 2013 11:16 am
by subzer0
I take a look at the network troubleshooting...

If I run nslookup hda from my workstation I get the correct answer 192.168.1.10

Here are some nslookup from the server. nslookup hda 192.168.1.10 get the correct answer.


subzer0@server:~$ subzer0@server:~$ nslookup localhost
subzer0@server:~$: command not found
subzer0@server:~$ Server: 208.67.222.222
Server:: command not found
subzer0@server:~$ Address: 208.67.222.222#53
Address:: command not found
subzer0@server:~$
subzer0@server:~$ ** server can't find localhost: NXDOMAIN
> ^C
subzer0@server:~$ nslookup hda
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
Name: hda
Address: 67.215.65.132

subzer0@server:~$ nslookup hda 192.168.1.10
Server: 192.168.1.10
Address: 192.168.1.10#53


Non-authoritative answer:
Name: hda
Address: 67.215.65.132

subzer0@server:~$ nslookup hda
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
Name: hda
Address: 67.215.65.132

subzer0@server:~$ nslookup hda.home.com
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
Name: hda.home.com
Address: 66.114.124.140

subzer0@server:~$ hostname
server
subzer0@server:~$ nslookup server
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
Name: server
Address: 67.215.65.132

subzer0@server:~$ nslookup localhost
Server: 208.67.222.222
Address: 208.67.222.222#53

** server can't find localhost: NXDOMAIN

subzer0@server:~$ nslookup localhost

Re: My dyn-DNS adress get me to my routers gui!

Posted: Sat Sep 14, 2013 11:31 am
by subzer0
Pastebin from the "Interactive Network Troubleshooter Amahi 6 Interactive"

http://ur1.ca/fjgj6

Re: My dyn-DNS adress get me to my routers gui!

Posted: Sat Sep 14, 2013 11:43 am
by subzer0
From the "More Network troubleshooting" https://wiki.amahi.org/index.php/More_n ... leshooting

Step1

ping hda get answer from externaal ip

ping router get answer from external ip

ping 68.180.206.184 works

ping yahoo.com works

Browse http://hda.com get me to an external webpage on the internet
(browse http://hda.home.com get me to amahi dashboard)

All in Step2 works fine. My workstations get tha amahis ip as answer.