The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNS Lookups

Discussion in 'Bind / DNS / Nameserver Issues' started by srthost, Apr 27, 2009.

  1. srthost

    srthost Registered

    Joined:
    Sep 5, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I just installed Cpanel on a new server. I've done it a few times and had no issues, but this time the DNS isn't working correctly.

    Basically the server can't see the zones it is hosting. I've setup a zone record for my domain, created both ns1 and ns2 A records, and also created the hostname A record. And verified the /etc/hosts is correct.

    My resolv.conf has my provider's IP's as the nameservers, and I can lookup any other domain just fine from my server. But when I try to then lookup a domain hosted on my server, it says it can't find the record.

    If I change the nameserver IP's in the resolv.conf to my server's IP addresses, then I can lookup my domain and hostname just fine. It was my understanding that when doing a lookup, the server would check if it's hosting the domain locally, and if so use those records? If not, it would forward the request on to the IP's in my resolv.conf...

    Thanks for any help!
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    It sounds like your dns is down or misconfigured. You will have to make sure dns is up and properly configured, then it should work fine. You can also check the logs for any dns errors.
     
Loading...

Share This Page