Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DynDNS problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Mithi
n00b
n00b


Joined: 17 Jan 2003
Posts: 12

PostPosted: Mon Mar 31, 2003 10:02 am    Post subject: DynDNS problem Reply with quote

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
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Mar 31, 2003 10:23 am    Post subject: odd DNS issue Reply with quote

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
View user's profile Send private message
amasidlover
Apprentice
Apprentice


Joined: 16 Jun 2002
Posts: 293
Location: Manchester, UK

PostPosted: Mon Mar 31, 2003 1:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Mon Mar 31, 2003 1:59 pm    Post subject: Reply with quote

Hello,

I think that win32 has something called lmhosts , it's like /etc/hosts on linux. :)
_________________
every step aim at glory.
Back to top
View user's profile Send private message
dsegel
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 127

PostPosted: Mon Mar 31, 2003 4:46 pm    Post subject: Reply with quote

WinXP uses a hosts file as well's. I think it's in c:\windows\system32\drivers\etc\hosts
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum