Click to See Complete Forum and Search --> : dns problem?


zivan56
12-13-2002, 09:33 PM
Hello,
I have this really annoying problem, I connect to the internet via an SMC 7004ABR router. The problem is whenever I go to a non-existant site (i.e http://dsdfghjhulfdsaertyfdsdfsgdfhg.com ) I get redirected to my external IP address, the problem with this is that it activates a bug in my router which causes all external IP's connecting to my web server (in the lan) to be reported as the routers WAN IP, this is obviously unacceptable for a web/ftp/mail server i am running. This does not seem to be a fault in the router or my ISP since it does not happen in Windows.
So far the problem is on:
Debian Linux 3.0r0
Mandrake Linux 9.0

Any solution would be very much appreciated :)

warren612001
12-13-2002, 10:15 PM
This might be a dumb question but are you using a web star cable modem? I have all most the same problem but it is not all the time

zivan56
12-13-2002, 10:23 PM
Actually I am using a Terrayon TerraPRO (spelling?).

zivan56
12-15-2002, 12:32 AM
Ok, I've fixed the problem
Edited /etc/resolv.conf
and changed:
search www.mydomain.com
to
search localhost.localdomain