dig and dig -x are answering different

Posted by erdemkeren on Server Fault See other posts from Server Fault or by erdemkeren
Published on 2012-10-29T03:15:56Z Indexed on 2012/10/29 5:05 UTC
Read the original article Hit count: 284

Filed under:
|
|

I don't want the name provider to manage my records. I want to handle it myself. So I installed bind9 and made some configurations reading some articles and following some examples. bind didn't show any error after I created/edited the required files but;

When I write

`dig www.foo.com, I see the IP of the advertisement page of my name provider.

But when I write

dig -x server_ip_address; I see the name I purchased. 

What am I doing wrong?

Can't a server be the nameserver of it's own? Is it a must to configure the records from the company I bought the name from?

By the way, I realised that, my previous question was not clear, I deleted it, and asking the same question in a different way.

© Server Fault or respective owner

Related posts about dns

Related posts about bind