DDNS in router does not renew IP address; host and dig report incorrect IP
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
DDNS Service: DDNS allows you to access your network using domain names instead of IP addresses. The service manages changing IP address and updates your domain information dynamically. You must sign up for service through TZO.com or DynDNS.org.
I have slackwarebox.dyndns.org as my domain name. For more than two years at my previous ISP I had a static IP. But they begin blocking many web sites, and I found out they were blocked for my IP only. So I switched to a dynamic IP. This was changing several times each week, though I never restarted either my ADSL modem or my router.
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:
Connecting to server
or
Connect to server fail
I moved recently, so I have a new ISP; and had hoped this problem would go away. However, it hasn't. And for the life of me I cannot find out what is causing this problem -- if I knew how to determine if it was the router, I'd just buy a new one. But some other things aren't right, either.
mingdao@silas:~$ host slackwarebox.dyndns.org
slackwarebox.dyndns.org has address 65.160.219.113
slackwarebox.dyndns.org has address 207.12.88.98
;; reply from unexpected source: 201.98.161.68#53, expected 202.98.160.68#53
;; Warning: ID mismatch: expected ID 37442, got 62116
;; reply from unexpected source: 201.98.161.68#53, expected 202.98.160.68#53
;; Warning: ID mismatch: expected ID 37442, got 62116
;; reply from unexpected source: 201.98.161.68#53, expected 202.98.160.68#53
;; Warning: ID mismatch: expected ID 37442, got 62116
;; reply from unexpected source: 201.98.161.68#53, expected 202.98.160.68#53
;; Warning: ID mismatch: expected ID 37442, got 62116
;; reply from unexpected source: 201.98.161.68#53, expected 202.98.160.68#53
;; Warning: ID mismatch: expected ID 37442, got 62116
;; reply from unexpected source: 201.98.161.68#53, expected 202.98.160.68#53
;; Warning: ID mismatch: expected ID 37442, got 62116
slackwarebox.dyndns.org has address 208.56.31.43
And I have:
Code:
mingdao@silas:~$ cat /etc/resolv.conf
nameserver 202.98.160.68 <- my ISP's DNS servers
nameserver 201.98.161.68 <- my ISP's DNS servers
nameserver 194.151.228.18 <- a DNS server in the Netherlands
nameserver 67.159.26.65 <- my email service's DNS server in America
nameserver 211.98.72.8 <- my old ISP's DNS servers in the city where I live
nameserver 211.98.72.7 <- my old ISP's DNS servers in the city where I live
nameserver 211.98.2.4 <- my old ISP's DNS servers in Beijing
nameserver 211.98.4.1 <- my old ISP's DNS servers in Beijing
And dig reports:
Code:
mingdao@silas:~$ dig slackwarebox.dyndns.org
; <<>> DiG 9.3.2 <<>> slackwarebox.dyndns.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45025
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
;; QUESTION SECTION:
;slackwarebox.dyndns.org. IN A
;; ANSWER SECTION:
slackwarebox.dyndns.org. 86400 IN A 209.220.30.174
;; AUTHORITY SECTION:
dyndns.org. 36686 IN NS ns1.dyndns.org.
dyndns.org. 36686 IN NS ns2.dyndns.org.
dyndns.org. 36686 IN NS ns3.dyndns.org.
dyndns.org. 36686 IN NS ns4.dyndns.org.
dyndns.org. 36686 IN NS ns5.dyndns.org.
;; ADDITIONAL SECTION:
ns1.dyndns.org. 32684 IN A 63.208.196.90
ns2.dyndns.org. 32018 IN A 209.220.30.174
ns3.dyndns.org. 30805 IN A 64.33.99.47
ns4.dyndns.org. 30825 IN A 208.56.31.43
ns5.dyndns.org. 30825 IN A 209.220.30.174
;; Query time: 97 msec
;; SERVER: 202.98.160.68#53(202.98.160.68)
;; WHEN: Thu Oct 12 07:25:39 2006
;; MSG SIZE rcvd: 22
Can you tell me how to determine if:
(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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.