View previous topic :: View next topic |
Author |
Message |
Mithi n00b
Joined: 17 Jan 2003 Posts: 12
|
Posted: Mon Mar 31, 2003 10:02 am Post subject: DynDNS problem |
|
|
I have a DSL line and want to host a webserver on it. My setup is
192.168.1.1 a hardware router
192.168.1.2 the server (gentoo)
192.168.1.3 my desktop pc (winXP)
I use ddclient with a dyndns.org-account. In syslog it claims to have updated my account properly, which I verified via the dyndns.org webinterface.
However if I try a ping or trace to my server via its DynDNS it resolves the name the adress that the computer has that i'm running the ping from. i.e. if i try "ping mithi.dyndns.org" from my server i get replies from 192.168.1.2 and if i do so from my desktop pc i get replies from 192.168.1.3.
Nslookup from both machines resolves my DynDNS "mithi.dyndns.org" exactly like ping and tracert to local IPs.
Anybody knows where things could go wrong? |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Mon Mar 31, 2003 10:23 am Post subject: odd DNS issue |
|
|
If it were just the Gentoo box I'd say look at your /etc/hosts file, but it's fairly hard to do the same in XP...
... what about checking other name servers around the net to see what the address looks like. You may also want to try dig which will give you a little more to work with.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
amasidlover Apprentice
Joined: 16 Jun 2002 Posts: 293 Location: Manchester, UK
|
Posted: Mon Mar 31, 2003 1:53 pm Post subject: |
|
|
A few things to check:
1) Firstly if you have set your hostname to the dyndns address then 192.168.etc will be the correct result.
2) What are your machines using as a nameserver?
3) Does it work from outside? If so, does it matter if the internal machines resolve the .dyndns address to an internal IP? |
|
Back to top |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Mon Mar 31, 2003 1:59 pm Post subject: |
|
|
Hello,
I think that win32 has something called lmhosts , it's like /etc/hosts on linux. _________________ every step aim at glory. |
|
Back to top |
|
|
dsegel Tux's lil' helper
Joined: 31 Jan 2003 Posts: 127
|
Posted: Mon Mar 31, 2003 4:46 pm Post subject: |
|
|
WinXP uses a hosts file as well's. I think it's in c:\windows\system32\drivers\etc\hosts |
|
Back to top |
|
|
|