Results 1 to 3 of 3
I am not exactly sure how to describe the problem, but this is whats happening:
I have set up a machine on debian and after a while it loses the ...
- 02-12-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 2
computer loses dns settings
I am not exactly sure how to describe the problem, but this is whats happening:
I have set up a machine on debian and after a while it loses the dns, so when I type:
ping: somesite.com
it times out but when I type:
ping: xxx.xxx.xxx.xxx <-some existing ip
I get an immediate response.
Anything I can do?
- 02-12-2007 #2Linux User
- Join Date
- Feb 2006
- Posts
- 484
what kind of ip are you using? static or dhcp
if static you need define the dns servers for the system
make a file in /etc on name resolv.conf and add the nameserver
syntax:
nameserver xxx.xxx.xxx.xxx
each line each dns server
- 02-12-2007 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 2
I am using dhcp, but I would much rather switch to static.
Originally Posted by iwanabeguru
I will give your suggestion a try.
It only seems to happen if I call curl from a php script. Don't know why.
Andre


Reply With Quote
