If i remove /etc/resolv.conf, restart server, i still can dig any unique domain.
How is that possible, how does my vps gets the ip by domain?
Are nameservers in etc/resolv.conf cached somewhere?
Resolv mistery
Re: Resolv mistery
resolv.conf is automatically created on Virtuozzo VPSes so if your VPS is on that platform then it may be why this is happening.
Also I would not be terribly surprised to find that if resolv.conf does not exist then Linux might default to 127.0.0.1 ...
Also see which DNS server is shown when you dig.
e.g.
Also I would not be terribly surprised to find that if resolv.conf does not exist then Linux might default to 127.0.0.1 ...
Also see which DNS server is shown when you dig.
e.g.
Code: Select all
;; Query time: 44 msec
;; SERVER: 208.67.220.220#53(208.67.220.220)
;; WHEN: Thu Jan 13 23:47:52 2011
;; MSG SIZE rcvd: 48
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Re: Resolv mistery
Why would you remove the resolv.conf ? How would this help you in any way ?bob83 wrote:If i remove /etc/resolv.conf, restart server, i still can dig any unique domain.
How is that possible, how does my vps gets the ip by domain?
Are nameservers in etc/resolv.conf cached somewhere?
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego