Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a centos 5 vps, didn't want to install any cpanel, i want to setup nameservers so is it possible to use opendns to do that and how?

share|improve this question

closed as not a real question by Shane Madden, Scott Pack, Ward, rnxrx, mulaz Oct 5 '12 at 11:46

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 5 down vote accepted

If I understood your question correctly, I see nothing difficult. Install BIND and add something like that in the configuration file:

zone "." {
        type forward;
        forward first;
        forwarders {208.67.222.222; 208.67.220.220; 8.8.8.8; };
};

These IPs are os OpenDNS servers (last is Google's). This configuration works on my proxy server.

EDIT: If you don't need DNS server on your machine, you may just add:

nameserver 208.67.222.222
nameserver 208.67.220.220

to your /etc/resolv.conf file. Leave only them there or place them first if you have any other nameservers there.

Or I've missed some details?

share|improve this answer
    
thx sir i solved it –  Eli Aug 20 '11 at 17:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.