question about default resolvers

dmacleo

Verified User
Joined
Jun 21, 2012
Messages
620
had a lot of issues today installing a plugin (host not found) and really could not ping anything.
looked at etc/resolv.con and see this:
nameserver 74.91.20.18
nameserver 74.91.30.106

so I swapped it to the google ones and everything worked fine.
I THOUGHT the google ones were default anyways and am wondering what I may have done that would have changed that.

thanks.
 
as I said I thought they had been set to default.
I am asking what I may have done (I have not knowingly edited any resolvers) after install 3 days ago that would have changed it.
 
Who would ever know the answer? You even did not specify your details:

It is a VPS? If yes what virtualization type?
Do you use DHCP? Or

Anyway nobody here might want to guess, so you should give us details and hire somebody to check your server from within (even though probably nobody will guarantee success).
 
its dedicated, installed custombuild with default options.
upgraded apache to 2.4.2 and mysql to 5.5.25 ar only things I have done.
if the resolvers were set to google as I thought I had done and there are no known security intrusions would anything in custombuild do this?
I can't give specifics to an unknown.
you know what, never mind.
first answer (which was deleted) was kind of a smart ass answer
Why would google ones be default? How would a linux server even know about google. They are either pulled from your dhcp request or setup manually when you install linux. Dont assume.
and second one is looking to get hired.
I'll just pay for cpanel then.
 
would anything in custombuild do this?

No, directadmin never changes anything in /etc/resolv.conf, and custombuild neither do that. So, nobody here can give an answer. My question about VPS was related to OpenVZ, but it's not your case, in OpenVZ if you change /etc/resolv.conf from inside VE, as soon as you restart your server, the file will be rolled back to defaults, it's regulated by master node. DHCP goes without saying... so I'm not going to say anything about that.

You can pay any CP you want, it's up to you, but I highly doubt that anybody on cPanels forums would ever give you any more detailed answer. As nobody but you know what you did and what you do on your server, and if you want to get an answer from us, you should give us access to your server so we could read logs, I personally won't do that for free, so you might want to look for somebody here or anywhere else who would do it for free.
 
the file last update time match times I updated apache though custombuild, and from what I see nothing there could have done it.
its possible I opened and did not save when changing I guess, just odd.
thanks.
 
When you install a CentOS server YOU set the default resolving nameservers. If you didn't install the server, then someone else did, and installed resolving nameservers per their own decision.

Maybe they just stopped working.

Jeff
 
Back
Top