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

Right now when I ping ex1.example.com the IP address is looked up in my local name server.

But what I would like is that this specific cname ex1.example.com is always lookuped in


So the question is, how is that done in bind9 on a CentOS 5?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You should add a zone of type forward to your named.conf:

zone "ex1.example.com" in {
    type forward;
    forward only;
    forwarders {; }; # adresses of the relevant servers
share|improve this answer
You are the best! Thanks =) –  Sandra Jul 20 '10 at 22:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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