DDNS in router does not renew IP address; host and dig report incorrect IP
I have a dynamic IP assigned from my ISP. I'm using an ADSL modem and a LinkSys WRT54G router.
My router has a DDNS service function: Quote:
For some time, the DDNS service in my router updated DynDNS.org just fine. Eventually the DDNS service quit reassigning the IP address, with one of these displayed: Quote:
Here is what I presently get: Code:
mingdao@silas:~$ links -dump http://www.whatismyipaddress.com/ | awk '/Your/ {print $4}' And http://www.dyndns.com/ says in My Services that it is 222.221.198.4 But host says: Code:
mingdao@silas:~$ host slackwarebox.dyndns.org Code:
mingdao@silas:~$ cat /etc/resolv.conf Code:
mingdao@silas:~$ dig slackwarebox.dyndns.org (a) my router's DDNS service is broken? (My router has the correct IP, but no longer changes it at DynDNS.org) (b) why host and dig report the incorrect IP address? (c) what to do to fix these errors? |
bump 54321
|
bump 54321
|
Well I did a host slackwarebox.dyndns.org just now and got:
slackwarebox.dyndns.org has address 222.221.208.104 - which looks in the correct range. Using YOUR nameserver: host slackwarebox.dyndns.org 202.98.160.68 Using domain server: Name: 202.98.160.68 Address: 202.98.160.68#53 Aliases: slackwarebox.dyndns.org has address 64.66.163.251 Using domain server: Name: 202.98.160.68 Address: 202.98.160.68#53 Aliases: slackwarebox.dyndns.org has address 64.33.99.47 Using domain server: Name: 202.98.160.68 Address: 202.98.160.68#53 Aliases: slackwarebox.dyndns.org has address 128.121.126.139 Therefore the fault is with the nameserver 202.98.160.68 - it's lying! |
Okay, thanks! You pulled the correct IP address with host.
NB: Lying is a way of life in China. But, please, what do I do to fix this from my location? Should I enter some DNS server outside China in my router and in /etc/resolv.conf? |
yes - just choose any nameserver that gives a good response.
|
I changed both in my router and /etc/resolv.conf to nameservers
outside of China; but still got bad returns. Can you post the IP of your DNS server(s) for me to try? |
host slackwarebox.dyndns.org 212.23.3.100
Using domain server: Name: 212.23.3.100 Address: 212.23.3.100#53 Aliases: slackwarebox.dyndns.org has address 222.221.199.65 Using domain server: Name: 212.23.3.100 Address: 212.23.3.100#53 Aliases: That's my ISP's main DNS server Another one is 212.23.6.100 |
I guess they've got me ...
Code:
mingdao@silas:~$ cat /etc/resolv.conf |
Ouch! Looks like DNS queries are being intercepted. Looks like you need a tunnel to the rest of the world.
|
All times are GMT -5. The time now is 02:55 AM. |